|
1 | | -warning: ambiguous import visibility: pub or pub(in crate::min_vis_first) |
2 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:12:19 |
| 1 | +error: ambiguous import visibility: pub or pub(in crate::min_vis_first) |
| 2 | + --> $DIR/ambiguous-import-visibility-globglob.rs:10:19 |
3 | 3 | | |
4 | 4 | LL | pub use self::S as S1; |
5 | 5 | | ^ |
6 | 6 | | |
7 | 7 | = note: ambiguous because of multiple glob imports of a name in the same module |
8 | 8 | note: `S` could refer to the struct imported here |
9 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:10:13 |
| 9 | + --> $DIR/ambiguous-import-visibility-globglob.rs:8:13 |
10 | 10 | | |
11 | 11 | LL | pub use crate::m::*; |
12 | 12 | | ^^^^^^^^^^^ |
13 | 13 | = help: consider adding an explicit import of `S` to disambiguate |
14 | 14 | note: `S` could also refer to the struct imported here |
15 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:8:9 |
| 15 | + --> $DIR/ambiguous-import-visibility-globglob.rs:6:9 |
16 | 16 | | |
17 | 17 | LL | use crate::m::*; |
18 | 18 | | ^^^^^^^^^^^ |
19 | 19 | = help: consider adding an explicit import of `S` to disambiguate |
20 | 20 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
21 | 21 | = note: for more information, see issue #149145 <https://github.com/rust-lang/rust/issues/149145> |
22 | | - = note: `#[warn(ambiguous_import_visibilities)]` (part of `#[warn(future_incompatible)]`) on by default |
| 22 | + = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default |
23 | 23 |
|
24 | | -warning: ambiguous import visibility: pub(crate) or pub(in crate::min_vis_first) |
25 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:15:26 |
| 24 | +error: ambiguous import visibility: pub(crate) or pub(in crate::min_vis_first) |
| 25 | + --> $DIR/ambiguous-import-visibility-globglob.rs:13:26 |
26 | 26 | | |
27 | 27 | LL | pub(crate) use self::S as S2; |
28 | 28 | | ^ |
29 | 29 | | |
30 | 30 | = note: ambiguous because of multiple glob imports of a name in the same module |
31 | 31 | note: `S` could refer to the struct imported here |
32 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:10:13 |
| 32 | + --> $DIR/ambiguous-import-visibility-globglob.rs:8:13 |
33 | 33 | | |
34 | 34 | LL | pub use crate::m::*; |
35 | 35 | | ^^^^^^^^^^^ |
36 | 36 | = help: consider adding an explicit import of `S` to disambiguate |
37 | 37 | note: `S` could also refer to the struct imported here |
38 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:8:9 |
| 38 | + --> $DIR/ambiguous-import-visibility-globglob.rs:6:9 |
39 | 39 | | |
40 | 40 | LL | use crate::m::*; |
41 | 41 | | ^^^^^^^^^^^ |
42 | 42 | = help: consider adding an explicit import of `S` to disambiguate |
43 | 43 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
44 | 44 | = note: for more information, see issue #149145 <https://github.com/rust-lang/rust/issues/149145> |
45 | 45 |
|
46 | | -warning: ambiguous import visibility: pub or pub(in crate::mid_vis_first) |
47 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:26:19 |
| 46 | +error: ambiguous import visibility: pub or pub(in crate::mid_vis_first) |
| 47 | + --> $DIR/ambiguous-import-visibility-globglob.rs:24:19 |
48 | 48 | | |
49 | 49 | LL | pub use self::S as S1; |
50 | 50 | | ^ |
51 | 51 | | |
52 | 52 | = note: ambiguous because of multiple glob imports of a name in the same module |
53 | 53 | note: `S` could refer to the struct imported here |
54 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:24:13 |
| 54 | + --> $DIR/ambiguous-import-visibility-globglob.rs:22:13 |
55 | 55 | | |
56 | 56 | LL | pub use crate::m::*; |
57 | 57 | | ^^^^^^^^^^^ |
58 | 58 | = help: consider adding an explicit import of `S` to disambiguate |
59 | 59 | note: `S` could also refer to the struct imported here |
60 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:23:9 |
| 60 | + --> $DIR/ambiguous-import-visibility-globglob.rs:21:9 |
61 | 61 | | |
62 | 62 | LL | use crate::m::*; |
63 | 63 | | ^^^^^^^^^^^ |
64 | 64 | = help: consider adding an explicit import of `S` to disambiguate |
65 | 65 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
66 | 66 | = note: for more information, see issue #149145 <https://github.com/rust-lang/rust/issues/149145> |
67 | 67 |
|
68 | | -warning: ambiguous import visibility: pub(crate) or pub(in crate::mid_vis_first) |
69 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:29:26 |
| 68 | +error: ambiguous import visibility: pub(crate) or pub(in crate::mid_vis_first) |
| 69 | + --> $DIR/ambiguous-import-visibility-globglob.rs:27:26 |
70 | 70 | | |
71 | 71 | LL | pub(crate) use self::S as S2; |
72 | 72 | | ^ |
73 | 73 | | |
74 | 74 | = note: ambiguous because of multiple glob imports of a name in the same module |
75 | 75 | note: `S` could refer to the struct imported here |
76 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:24:13 |
| 76 | + --> $DIR/ambiguous-import-visibility-globglob.rs:22:13 |
77 | 77 | | |
78 | 78 | LL | pub use crate::m::*; |
79 | 79 | | ^^^^^^^^^^^ |
80 | 80 | = help: consider adding an explicit import of `S` to disambiguate |
81 | 81 | note: `S` could also refer to the struct imported here |
82 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:23:9 |
| 82 | + --> $DIR/ambiguous-import-visibility-globglob.rs:21:9 |
83 | 83 | | |
84 | 84 | LL | use crate::m::*; |
85 | 85 | | ^^^^^^^^^^^ |
86 | 86 | = help: consider adding an explicit import of `S` to disambiguate |
87 | 87 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
88 | 88 | = note: for more information, see issue #149145 <https://github.com/rust-lang/rust/issues/149145> |
89 | 89 |
|
90 | | -warning: ambiguous import visibility: pub or pub(in crate::max_vis_first) |
91 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:40:19 |
| 90 | +error: ambiguous import visibility: pub or pub(in crate::max_vis_first) |
| 91 | + --> $DIR/ambiguous-import-visibility-globglob.rs:38:19 |
92 | 92 | | |
93 | 93 | LL | pub use self::S as S1; |
94 | 94 | | ^ |
95 | 95 | | |
96 | 96 | = note: ambiguous because of multiple glob imports of a name in the same module |
97 | 97 | note: `S` could refer to the struct imported here |
98 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:36:13 |
| 98 | + --> $DIR/ambiguous-import-visibility-globglob.rs:34:13 |
99 | 99 | | |
100 | 100 | LL | pub use crate::m::*; |
101 | 101 | | ^^^^^^^^^^^ |
102 | 102 | = help: consider adding an explicit import of `S` to disambiguate |
103 | 103 | note: `S` could also refer to the struct imported here |
104 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:37:9 |
| 104 | + --> $DIR/ambiguous-import-visibility-globglob.rs:35:9 |
105 | 105 | | |
106 | 106 | LL | use crate::m::*; |
107 | 107 | | ^^^^^^^^^^^ |
108 | 108 | = help: consider adding an explicit import of `S` to disambiguate |
109 | 109 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
110 | 110 | = note: for more information, see issue #149145 <https://github.com/rust-lang/rust/issues/149145> |
111 | 111 |
|
112 | | -warning: ambiguous import visibility: pub(crate) or pub(in crate::max_vis_first) |
113 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:43:26 |
| 112 | +error: ambiguous import visibility: pub(crate) or pub(in crate::max_vis_first) |
| 113 | + --> $DIR/ambiguous-import-visibility-globglob.rs:41:26 |
114 | 114 | | |
115 | 115 | LL | pub(crate) use self::S as S2; |
116 | 116 | | ^ |
117 | 117 | | |
118 | 118 | = note: ambiguous because of multiple glob imports of a name in the same module |
119 | 119 | note: `S` could refer to the struct imported here |
120 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:36:13 |
| 120 | + --> $DIR/ambiguous-import-visibility-globglob.rs:34:13 |
121 | 121 | | |
122 | 122 | LL | pub use crate::m::*; |
123 | 123 | | ^^^^^^^^^^^ |
124 | 124 | = help: consider adding an explicit import of `S` to disambiguate |
125 | 125 | note: `S` could also refer to the struct imported here |
126 | | - --> $DIR/ambiguous-import-visibility-globglob.rs:37:9 |
| 126 | + --> $DIR/ambiguous-import-visibility-globglob.rs:35:9 |
127 | 127 | | |
128 | 128 | LL | use crate::m::*; |
129 | 129 | | ^^^^^^^^^^^ |
130 | 130 | = help: consider adding an explicit import of `S` to disambiguate |
131 | 131 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
132 | 132 | = note: for more information, see issue #149145 <https://github.com/rust-lang/rust/issues/149145> |
133 | 133 |
|
134 | | -warning: 6 warnings emitted |
| 134 | +error: aborting due to 6 previous errors |
135 | 135 |
|
0 commit comments