1
1
warning: ambiguous glob re-exports
2
- --> $DIR/ambiguous-9.rs:7 :13
2
+ --> $DIR/ambiguous-9.rs:16 :13
3
3
|
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
8
8
|
9
9
= note: `#[warn(ambiguous_glob_reexports)]` on by default
10
10
@@ -18,50 +18,20 @@ LL | date_range();
18
18
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
19
19
= note: ambiguous because of multiple glob imports of a name in the same module
20
20
note: `date_range` could refer to the function imported here
21
- --> $DIR/ambiguous-9.rs:7 :13
21
+ --> $DIR/ambiguous-9.rs:16 :13
22
22
|
23
- LL | pub use self::range ::*;
24
- | ^^^^^^^^^^^^^^
23
+ LL | pub use super::dsl ::*;
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)]` 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
- | ^^^^^^^^^^ 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
+ | ^^^^^^^^^^
62
31
= help: consider adding an explicit import of `date_range` to disambiguate
32
+ = note: `#[deny(ambiguous_glob_imports)]` on by default
63
33
64
- error: aborting due to 2 previous errors; 2 warnings emitted
34
+ error: aborting due to 1 previous error; 1 warning emitted
65
35
66
36
Future incompatibility report: Future breakage diagnostic:
67
37
error: `date_range` is ambiguous
@@ -74,40 +44,16 @@ LL | date_range();
74
44
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
75
45
= note: ambiguous because of multiple glob imports of a name in the same module
76
46
note: `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)]` 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
102
48
|
103
- LL | use dsl::*;
104
- | ^^^^^^
49
+ LL | pub use super:: dsl::*;
50
+ | ^^^^^^^ ^^^^^^
105
51
= help: consider adding an explicit import of `date_range` to disambiguate
106
52
note: `date_range` could also refer to the function imported here
107
- --> $DIR/ambiguous-9.rs:20:5
53
+ --> $DIR/ambiguous-9.rs:15:13
108
54
|
109
- LL | use prelude ::*;
110
- | ^^^^^^^^^^
55
+ LL | pub use self::t ::*;
56
+ | ^^^^^^^^^^
111
57
= help: consider adding an explicit import of `date_range` to disambiguate
112
58
= note: `#[deny(ambiguous_glob_imports)]` on by default
113
59
0 commit comments