1- error: `id` is ambiguous
1+ error[E0659] : `id` is ambiguous
22 --> $DIR/ambiguous-4.rs:6:25
33 |
44LL | ambiguous_4_extern::id();
55 | ^^ ambiguous name
66 |
7- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8- = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
97 = note: ambiguous because of multiple glob imports of a name in the same module
108note: `id` could refer to the function defined here
119 --> $DIR/auxiliary/../ambiguous-4-extern.rs:12:9
@@ -17,29 +15,7 @@ note: `id` could also refer to the function defined here
1715 |
1816LL | pub use handwritten::*;
1917 | ^^^^^^^^^^^
20- = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
2118
2219error: aborting due to 1 previous error
2320
24- Future incompatibility report: Future breakage diagnostic:
25- error: `id` is ambiguous
26- --> $DIR/ambiguous-4.rs:6:25
27- |
28- LL | ambiguous_4_extern::id();
29- | ^^ ambiguous name
30- |
31- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
32- = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
33- = note: ambiguous because of multiple glob imports of a name in the same module
34- note: `id` could refer to the function defined here
35- --> $DIR/auxiliary/../ambiguous-4-extern.rs:12:9
36- |
37- LL | pub use evp::*;
38- | ^^^
39- note: `id` could also refer to the function defined here
40- --> $DIR/auxiliary/../ambiguous-4-extern.rs:13:9
41- |
42- LL | pub use handwritten::*;
43- | ^^^^^^^^^^^
44- = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
45-
21+ For more information about this error, try `rustc --explain E0659`.
0 commit comments