1
1
warning: ambiguous glob re-exports
2
- --> $DIR/ambiguous-1.rs:10 :13
2
+ --> $DIR/ambiguous-1.rs:13 :13
3
3
|
4
4
LL | pub use self::evp::*;
5
5
| ^^^^^^^^^^^^ the name `id` in the value namespace is first re-exported here
@@ -9,8 +9,8 @@ LL | pub use self::handwritten::*;
9
9
|
10
10
= note: `#[warn(ambiguous_glob_reexports)]` on by default
11
11
12
- error : `id` is ambiguous
13
- --> $DIR/ambiguous-1.rs:26 :5
12
+ warning : `id` is ambiguous
13
+ --> $DIR/ambiguous-1.rs:29 :5
14
14
|
15
15
LL | id();
16
16
| ^^ ambiguous name
@@ -19,24 +19,28 @@ LL | id();
19
19
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
20
20
= note: ambiguous because of multiple glob imports of a name in the same module
21
21
note: `id` could refer to the function imported here
22
- --> $DIR/ambiguous-1.rs:10 :13
22
+ --> $DIR/ambiguous-1.rs:13 :13
23
23
|
24
24
LL | pub use self::evp::*;
25
25
| ^^^^^^^^^^^^
26
26
= help: consider adding an explicit import of `id` to disambiguate
27
27
note: `id` could also refer to the function imported here
28
- --> $DIR/ambiguous-1.rs:12 :13
28
+ --> $DIR/ambiguous-1.rs:15 :13
29
29
|
30
30
LL | pub use self::handwritten::*;
31
31
| ^^^^^^^^^^^^^^^^^^^^
32
32
= 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
+ | ^^^^^^^^^^^^^^^^^^^^^^
34
38
35
- error: aborting due to 1 previous error; 1 warning emitted
39
+ warning: 2 warnings emitted
36
40
37
41
Future 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
40
44
|
41
45
LL | id();
42
46
| ^^ ambiguous name
@@ -45,16 +49,20 @@ LL | id();
45
49
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
46
50
= note: ambiguous because of multiple glob imports of a name in the same module
47
51
note: `id` could refer to the function imported here
48
- --> $DIR/ambiguous-1.rs:10 :13
52
+ --> $DIR/ambiguous-1.rs:13 :13
49
53
|
50
54
LL | pub use self::evp::*;
51
55
| ^^^^^^^^^^^^
52
56
= help: consider adding an explicit import of `id` to disambiguate
53
57
note: `id` could also refer to the function imported here
54
- --> $DIR/ambiguous-1.rs:12 :13
58
+ --> $DIR/ambiguous-1.rs:15 :13
55
59
|
56
60
LL | pub use self::handwritten::*;
57
61
| ^^^^^^^^^^^^^^^^^^^^
58
62
= 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
+ | ^^^^^^^^^^^^^^^^^^^^^^
60
68
0 commit comments