|
1 | 1 | warning: private item shadows public glob re-export
|
2 |
| - --> $DIR/hidden_glob_reexports.rs:11:5 |
| 2 | + --> $DIR/hidden_glob_reexports.rs:9:5 |
3 | 3 | |
|
4 |
| -LL | pub use self::inner::*; |
5 |
| - | -------------- the name `Foo` in the type namespace is supposed to be publicly re-exported here |
6 |
| -LL | |
7 | 4 | LL | struct Foo;
|
8 |
| - | ^^^^^^^^^^^ but the private item here shadows it |
| 5 | + | ^^^^^^^^^^^ |
| 6 | + | |
| 7 | +note: the name `Foo` in the type namespace is supposed to be publicly re-exported here |
| 8 | + --> $DIR/hidden_glob_reexports.rs:12:13 |
| 9 | + | |
| 10 | +LL | pub use self::inner::*; |
| 11 | + | ^^^^^^^^^^^^^^ |
| 12 | +note: but the private item here shadows it |
| 13 | + --> $DIR/hidden_glob_reexports.rs:9:5 |
9 | 14 | |
|
| 15 | +LL | struct Foo; |
| 16 | + | ^^^^^^^^^^^ |
10 | 17 | = note: `#[warn(hidden_glob_reexports)]` on by default
|
11 | 18 |
|
12 | 19 | warning: private item shadows public glob re-export
|
13 | 20 | --> $DIR/hidden_glob_reexports.rs:27:9
|
14 | 21 | |
|
| 22 | +LL | use self::other::Foo; |
| 23 | + | ^^^^^^^^^^^^^^^^ |
| 24 | + | |
| 25 | +note: the name `Foo` in the type namespace is supposed to be publicly re-exported here |
| 26 | + --> $DIR/hidden_glob_reexports.rs:25:13 |
| 27 | + | |
15 | 28 | LL | pub use self::inner::*;
|
16 |
| - | -------------- the name `Foo` in the type namespace is supposed to be publicly re-exported here |
17 |
| -LL | |
| 29 | + | ^^^^^^^^^^^^^^ |
| 30 | +note: but the private item here shadows it |
| 31 | + --> $DIR/hidden_glob_reexports.rs:27:9 |
| 32 | + | |
18 | 33 | LL | use self::other::Foo;
|
19 |
| - | ^^^^^^^^^^^^^^^^ but the private item here shadows it |
| 34 | + | ^^^^^^^^^^^^^^^^ |
20 | 35 |
|
21 | 36 | warning: private item shadows public glob re-export
|
22 | 37 | --> $DIR/hidden_glob_reexports.rs:40:9
|
23 | 38 | |
|
| 39 | +LL | use std::primitive::u8; |
| 40 | + | ^^^^^^^^^^^^^^^^^^ |
| 41 | + | |
| 42 | +note: the name `u8` in the type namespace is supposed to be publicly re-exported here |
| 43 | + --> $DIR/hidden_glob_reexports.rs:38:13 |
| 44 | + | |
24 | 45 | LL | pub use self::no_def_id::*;
|
25 |
| - | ------------------ the name `u8` in the type namespace is supposed to be publicly re-exported here |
26 |
| -LL | |
| 46 | + | ^^^^^^^^^^^^^^^^^^ |
| 47 | +note: but the private item here shadows it |
| 48 | + --> $DIR/hidden_glob_reexports.rs:40:9 |
| 49 | + | |
27 | 50 | LL | use std::primitive::u8;
|
28 |
| - | ^^^^^^^^^^^^^^^^^^ but the private item here shadows it |
| 51 | + | ^^^^^^^^^^^^^^^^^^ |
29 | 52 |
|
30 | 53 | warning: 3 warnings emitted
|
31 | 54 |
|
0 commit comments