@@ -24,20 +24,12 @@ LL | pub use super::dsl::*;
2424 | ^^^^^^^^^^^^^
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::*;
3830 | ^^^^^^^^^^
3931 = help: consider adding an explicit import of `date_range` to disambiguate
40- = note: `#[deny(ambiguous_glob_imports)]` on by default
32+ = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
4133
4234error: aborting due to 1 previous error; 1 warning emitted
4335
@@ -60,32 +52,8 @@ LL | pub use super::dsl::*;
6052note: `date_range` could also refer to the function imported here
6153 --> $DIR/ambiguous-9.rs:15:13
6254 |
63- LL | use super::prelude::*;
64- | ^^^^^^^^^^^^^^^^^
65- = help: consider adding an explicit import of `date_range` to disambiguate
66- = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
67-
68- Future breakage diagnostic:
69- error: `date_range` is ambiguous
70- --> $DIR/ambiguous-9.rs:23:5
71- |
72- LL | date_range();
73- | ^^^^^^^^^^ ambiguous name
74- |
75- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
76- = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
77- = note: ambiguous because of multiple glob imports of a name in the same module
78- note: `date_range` could refer to the function imported here
79- --> $DIR/ambiguous-9.rs:19:5
80- |
81- LL | use dsl::*;
82- | ^^^^^^
83- = help: consider adding an explicit import of `date_range` to disambiguate
84- note: `date_range` could also refer to the function imported here
85- --> $DIR/ambiguous-9.rs:20:5
86- |
87- LL | use prelude::*;
88- | ^^^^^^^^^^
55+ LL | pub use self::t::*;
56+ | ^^^^^^^^^^
8957 = help: consider adding an explicit import of `date_range` to disambiguate
9058 = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
9159
0 commit comments