]> git.proxmox.com Git - rustc.git/blob - src/test/ui/use/use-mod/use-mod-4.stderr
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / use / use-mod / use-mod-4.stderr
1 error[E0429]: `self` imports are only allowed within a { } list
2 --> $DIR/use-mod-4.rs:1:5
3 |
4 LL | use foo::self; //~ ERROR unresolved import `foo`
5 | ^^^^^^^^^
6
7 error[E0429]: `self` imports are only allowed within a { } list
8 --> $DIR/use-mod-4.rs:4:5
9 |
10 LL | use std::mem::self;
11 | ^^^^^^^^^^^^^^
12
13 error[E0432]: unresolved import `foo`
14 --> $DIR/use-mod-4.rs:1:5
15 |
16 LL | use foo::self; //~ ERROR unresolved import `foo`
17 | ^^^ maybe a missing `extern crate foo;`?
18
19 error: aborting due to 3 previous errors
20
21 Some errors occurred: E0429, E0432.
22 For more information about an error, try `rustc --explain E0429`.