fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0429]: `self` imports are only allowed within a { } list 2 --> $DIR/use-mod-6.rs:7:13 3 | 4LL | use foo::bar::self as abc; 5 | ^^^^^^ 6 | 7help: consider importing the module directly 8 | 9LL - use foo::bar::self as abc; 10LL + use foo::bar as abc; 11 | 12help: alternatively, use the multi-path `use` syntax to import `self` 13 | 14LL | use foo::bar::{self as abc}; 15 | + + 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0429`.