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