]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-self-type.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / use / use-self-type.stderr
1 error[E0433]: failed to resolve. Use of undeclared type or module `Self`
2   --> $DIR/use-self-type.rs:17:16
3    |
4 LL |         pub(in Self::f) struct Z; //~ ERROR Use of undeclared type or module `Self`
5    |                ^^^^ Use of undeclared type or module `Self`
6
7 error[E0432]: unresolved import `Self`
8   --> $DIR/use-self-type.rs:16:13
9    |
10 LL |         use Self::f; //~ ERROR unresolved import
11    |             ^^^^ Use of undeclared type or module `Self`
12
13 error: aborting due to 2 previous errors
14
15 Some errors occurred: E0432, E0433.
16 For more information about an error, try `rustc --explain E0432`.