1 error[E0430]: `self` import can only appear once in an import list
2 --> $DIR/use-mod.rs:12:5
5 | ^^^^ can only appear once in an import list
8 | ---- another `self` import appears here
10 error[E0431]: `self` import can only appear in an import list with a non-empty prefix
11 --> $DIR/use-mod.rs:19:6
14 | ^^^^ can only appear in an import list with a non-empty prefix
16 error[E0252]: the name `bar` is defined multiple times
17 --> $DIR/use-mod.rs:15:5
20 | ---- previous import of the module `bar` here
23 | ^^^^ `bar` reimported here
25 = note: `bar` must be defined only once in the type namespace of this module
26 help: You can use `as` to change the binding name of the import
28 15 | self as other_bar
31 error: aborting due to 3 previous errors