LL | S::default().x;
| ^^^^^^^^^^^^^^
-error[E0624]: method `f` is private
+error[E0624]: associated function `f` is private
--> $DIR/test.rs:32:18
|
LL | S::default().f();
| ^
-error[E0624]: method `g` is private
+error[E0624]: associated function `g` is private
--> $DIR/test.rs:33:5
|
LL | S::g();
LL | let _ = u.z;
| ^^^
-error[E0624]: method `g` is private
+error[E0624]: associated function `g` is private
--> $DIR/test.rs:45:7
|
LL | u.g();
| ^
-error[E0624]: method `h` is private
+error[E0624]: associated function `h` is private
--> $DIR/test.rs:46:7
|
LL | u.h();