@@ -24,20 +24,12 @@ LL | pub use super::dsl::*;
24
24
| ^^^^^^^^^^^^^
25
25
= help: consider adding an explicit import of `date_range` to disambiguate
26
26
note: `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
35
27
--> $DIR/ambiguous-9.rs:15:13
36
28
|
37
29
LL | pub use self::t::*;
38
30
| ^^^^^^^^^^
39
31
= 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
41
33
42
34
error: aborting due to 1 previous error; 1 warning emitted
43
35
@@ -60,32 +52,8 @@ LL | pub use super::dsl::*;
60
52
note: `date_range` could also refer to the function imported here
61
53
--> $DIR/ambiguous-9.rs:15:13
62
54
|
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
+ | ^^^^^^^^^^
89
57
= help: consider adding an explicit import of `date_range` to disambiguate
90
58
= note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default
91
59
0 commit comments