fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
722 B22 linesraw
1error[E0659]: `S` is ambiguous (glob import vs glob import in the same module)
2  --> $DIR/issue-55884-1.rs:19:12
3   |
4LL |     use m::S;
5   |            ^ ambiguous name
6   |
7note: `S` could refer to the struct imported here
8  --> $DIR/issue-55884-1.rs:14:13
9   |
10LL |     pub use self::m1::*;
11   |             ^^^^^^^^^^^
12   = help: consider adding an explicit import of `S` to disambiguate
13note: `S` could also refer to the struct imported here
14  --> $DIR/issue-55884-1.rs:15:13
15   |
16LL |     pub use self::m2::*;
17   |             ^^^^^^^^^^^
18   = help: consider adding an explicit import of `S` to disambiguate
19
20error: aborting due to previous error
21
22For more information about this error, try `rustc --explain E0659`.