fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0429]: `self` imports are only allowed within a { } list 2 --> $DIR/use-mod-4.rs:1:5 3 | 4LL | use foo::self; 5 | ^^^^^^^^^ 6 7error[E0429]: `self` imports are only allowed within a { } list 8 --> $DIR/use-mod-4.rs:4:5 9 | 10LL | use std::mem::self; 11 | ^^^^^^^^^^^^^^ 12 13error[E0432]: unresolved import `foo` 14 --> $DIR/use-mod-4.rs:1:5 15 | 16LL | use foo::self; 17 | ^^^ maybe a missing crate `foo`? 18 19error: aborting due to 3 previous errors 20 21Some errors have detailed explanations: E0429, E0432. 22For more information about an error, try `rustc --explain E0429`.