11warning: ambiguous glob re-exports
2- --> $DIR/ambiguous-1.rs:10 :13
2+ --> $DIR/ambiguous-1.rs:13 :13
33 |
44LL | pub use self::evp::*;
55 | ^^^^^^^^^^^^ the name `id` in the value namespace is first re-exported here
@@ -9,8 +9,8 @@ LL | pub use self::handwritten::*;
99 |
1010 = note: `#[warn(ambiguous_glob_reexports)]` on by default
1111
12- error : `id` is ambiguous
13- --> $DIR/ambiguous-1.rs:26 :5
12+ warning : `id` is ambiguous
13+ --> $DIR/ambiguous-1.rs:29 :5
1414 |
1515LL | id();
1616 | ^^ ambiguous name
@@ -19,24 +19,28 @@ LL | id();
1919 = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
2020 = note: ambiguous because of multiple glob imports of a name in the same module
2121note: `id` could refer to the function imported here
22- --> $DIR/ambiguous-1.rs:10 :13
22+ --> $DIR/ambiguous-1.rs:13 :13
2323 |
2424LL | pub use self::evp::*;
2525 | ^^^^^^^^^^^^
2626 = help: consider adding an explicit import of `id` to disambiguate
2727note: `id` could also refer to the function imported here
28- --> $DIR/ambiguous-1.rs:12 :13
28+ --> $DIR/ambiguous-1.rs:15 :13
2929 |
3030LL | pub use self::handwritten::*;
3131 | ^^^^^^^^^^^^^^^^^^^^
3232 = help: consider adding an explicit import of `id` to disambiguate
33- = note: `#[deny(ambiguous_glob_imports)]` on by default
33+ note: the lint level is defined here
34+ --> $DIR/ambiguous-1.rs:4:9
35+ |
36+ LL | #![warn(ambiguous_glob_imports)]
37+ | ^^^^^^^^^^^^^^^^^^^^^^
3438
35- error: aborting due to 1 previous error; 1 warning emitted
39+ warning: 2 warnings emitted
3640
3741Future incompatibility report: Future breakage diagnostic:
38- error : `id` is ambiguous
39- --> $DIR/ambiguous-1.rs:26 :5
42+ warning : `id` is ambiguous
43+ --> $DIR/ambiguous-1.rs:29 :5
4044 |
4145LL | id();
4246 | ^^ ambiguous name
@@ -45,16 +49,20 @@ LL | id();
4549 = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
4650 = note: ambiguous because of multiple glob imports of a name in the same module
4751note: `id` could refer to the function imported here
48- --> $DIR/ambiguous-1.rs:10 :13
52+ --> $DIR/ambiguous-1.rs:13 :13
4953 |
5054LL | pub use self::evp::*;
5155 | ^^^^^^^^^^^^
5256 = help: consider adding an explicit import of `id` to disambiguate
5357note: `id` could also refer to the function imported here
54- --> $DIR/ambiguous-1.rs:12 :13
58+ --> $DIR/ambiguous-1.rs:15 :13
5559 |
5660LL | pub use self::handwritten::*;
5761 | ^^^^^^^^^^^^^^^^^^^^
5862 = help: consider adding an explicit import of `id` to disambiguate
59- = note: `#[deny(ambiguous_glob_imports)]` on by default
63+ note: the lint level is defined here
64+ --> $DIR/ambiguous-1.rs:4:9
65+ |
66+ LL | #![warn(ambiguous_glob_imports)]
67+ | ^^^^^^^^^^^^^^^^^^^^^^
6068
0 commit comments