blob: e4cb0f9f3d8351e935f594b5732fd0c70f029824 [file] [log] [blame]
error[E0433]: failed to resolve: use of undeclared type or module `Self`
--> $DIR/use-self-type.rs:17:16
|
LL | pub(in Self::f) struct Z; //~ ERROR use of undeclared type or module `Self`
| ^^^^ use of undeclared type or module `Self`
error[E0432]: unresolved import `Self`
--> $DIR/use-self-type.rs:16:13
|
LL | use Self::f; //~ ERROR unresolved import
| ^^^^ use of undeclared type or module `Self`
error: aborting due to 2 previous errors
Some errors occurred: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.