11warning: ambiguous glob re-exports
2- --> $DIR/ambiguous-9.rs:7 :13
2+ --> $DIR/ambiguous-9.rs:16 :13
33 |
4- LL | pub use self::range ::*;
5- | ^^^^^^^^^^^^^^ the name `date_range` in the value namespace is first re-exported here
6- LL | use super::prelude ::*;
7- | ----------------- but the name `date_range` in the value namespace is also re-exported here
4+ LL | pub use self::t ::*;
5+ | ---------- but the name `date_range` in the value namespace is also re-exported here
6+ LL | pub use super::dsl ::*;
7+ | ^^^^^^^^^^^^^ the name `date_range` in the value namespace is first re-exported here
88 |
99 = note: `#[warn(ambiguous_glob_reexports)]` on by default
1010
@@ -18,50 +18,20 @@ LL | date_range();
1818 = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
1919 = note: ambiguous because of multiple glob imports of a name in the same module
2020note: `date_range` could refer to the function imported here
21- --> $DIR/ambiguous-9.rs:7 :13
21+ --> $DIR/ambiguous-9.rs:16 :13
2222 |
23- LL | pub use self::range ::*;
24- | ^^^^^^^^^^^^^^
23+ LL | pub use super::dsl ::*;
24+ | ^^^^^^^^^^^^^
2525 = help: consider adding an explicit import of `date_range` to disambiguate
2626note: `date_range` could also refer to the function imported here
27- --> $DIR/ambiguous-9.rs:8:9
28- |
29- LL | use super::prelude::*;
30- | ^^^^^^^^^^^^^^^^^
31- = help: consider adding an explicit import of `date_range` to disambiguate
32- = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
33-
34- warning: ambiguous glob re-exports
3527 --> $DIR/ambiguous-9.rs:15:13
3628 |
3729LL | pub use self::t::*;
38- | ^^^^^^^^^^ the name `date_range` in the value namespace is first re-exported here
39- LL | pub use super::dsl::*;
40- | ------------- but the name `date_range` in the value namespace is also re-exported here
41-
42- error: `date_range` is ambiguous
43- --> $DIR/ambiguous-9.rs:23:5
44- |
45- LL | date_range();
46- | ^^^^^^^^^^ ambiguous name
47- |
48- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49- = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
50- = note: ambiguous because of multiple glob imports of a name in the same module
51- note: `date_range` could refer to the function imported here
52- --> $DIR/ambiguous-9.rs:19:5
53- |
54- LL | use dsl::*;
55- | ^^^^^^
56- = help: consider adding an explicit import of `date_range` to disambiguate
57- note: `date_range` could also refer to the function imported here
58- --> $DIR/ambiguous-9.rs:20:5
59- |
60- LL | use prelude::*;
61- | ^^^^^^^^^^
30+ | ^^^^^^^^^^
6231 = help: consider adding an explicit import of `date_range` to disambiguate
32+ = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
6333
64- error: aborting due to 2 previous errors; 2 warnings emitted
34+ error: aborting due to 1 previous error; 1 warning emitted
6535
6636Future incompatibility report: Future breakage diagnostic:
6737error: `date_range` is ambiguous
@@ -74,40 +44,16 @@ LL | date_range();
7444 = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
7545 = note: ambiguous because of multiple glob imports of a name in the same module
7646note: `date_range` could refer to the function imported here
77- --> $DIR/ambiguous-9.rs:7:13
78- |
79- LL | pub use self::range::*;
80- | ^^^^^^^^^^^^^^
81- = help: consider adding an explicit import of `date_range` to disambiguate
82- note: `date_range` could also refer to the function imported here
83- --> $DIR/ambiguous-9.rs:8:9
84- |
85- LL | use super::prelude::*;
86- | ^^^^^^^^^^^^^^^^^
87- = help: consider adding an explicit import of `date_range` to disambiguate
88- = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
89-
90- Future breakage diagnostic:
91- error: `date_range` is ambiguous
92- --> $DIR/ambiguous-9.rs:23:5
93- |
94- LL | date_range();
95- | ^^^^^^^^^^ ambiguous name
96- |
97- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
98- = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
99- = note: ambiguous because of multiple glob imports of a name in the same module
100- note: `date_range` could refer to the function imported here
101- --> $DIR/ambiguous-9.rs:19:5
47+ --> $DIR/ambiguous-9.rs:16:13
10248 |
103- LL | use dsl::*;
104- | ^^^^^^
49+ LL | pub use super:: dsl::*;
50+ | ^^^^^^^ ^^^^^^
10551 = help: consider adding an explicit import of `date_range` to disambiguate
10652note: `date_range` could also refer to the function imported here
107- --> $DIR/ambiguous-9.rs:20:5
53+ --> $DIR/ambiguous-9.rs:15:13
10854 |
109- LL | use prelude ::*;
110- | ^^^^^^^^^^
55+ LL | pub use self::t ::*;
56+ | ^^^^^^^^^^
11157 = help: consider adding an explicit import of `date_range` to disambiguate
11258 = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
11359
0 commit comments