]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-keyword.stderr
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / use / use-keyword.stderr
1 error[E0429]: `self` imports are only allowed within a { } list
2   --> $DIR/use-keyword.rs:6:13
3    |
4 LL |         use self as A;
5    |             ^^^^
6
7 error[E0432]: unresolved import `super`
8   --> $DIR/use-keyword.rs:8:13
9    |
10 LL |         use super as B;
11    |             ^^^^^^^^^^ no `super` in the root
12
13 error[E0432]: unresolved import `super`
14   --> $DIR/use-keyword.rs:11:21
15    |
16 LL |         use super::{self as C};
17    |                     ^^^^^^^^^ no `super` in the root
18
19 error: aborting due to 3 previous errors
20
21 Some errors have detailed explanations: E0429, E0432.
22 For more information about an error, try `rustc --explain E0429`.