]> git.lizzy.rs Git - rust.git/blob - src/test/ui/entry-point/imported_main_conflict.stderr
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / entry-point / imported_main_conflict.stderr
1 error[E0659]: `main` is ambiguous
2    |
3    = note: ambiguous because of multiple glob imports of a name in the same module
4 note: `main` could refer to the function imported here
5   --> $DIR/imported_main_conflict.rs:6:5
6    |
7 LL | use m1::*;
8    |     ^^^^^
9    = help: consider adding an explicit import of `main` to disambiguate
10 note: `main` could also refer to the function imported here
11   --> $DIR/imported_main_conflict.rs:7:5
12    |
13 LL | use m2::*;
14    |     ^^^^^
15    = help: consider adding an explicit import of `main` to disambiguate
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0659`.