2023-05-08 18:15:46 -05:00
|
|
|
warning: private item shadows public glob re-export
|
2023-06-08 02:03:21 -05:00
|
|
|
--> $DIR/hidden_glob_reexports.rs:9:5
|
2023-05-08 18:15:46 -05:00
|
|
|
|
|
|
|
|
LL | struct Foo;
|
2023-06-08 02:03:21 -05:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the name `Foo` in the type namespace is supposed to be publicly re-exported here
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:12:13
|
|
|
|
|
|
|
|
|
LL | pub use self::inner::*;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
note: but the private item here shadows it
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:9:5
|
2023-05-08 18:15:46 -05:00
|
|
|
|
|
2023-06-08 02:03:21 -05:00
|
|
|
LL | struct Foo;
|
|
|
|
| ^^^^^^^^^^^
|
2023-05-08 18:15:46 -05:00
|
|
|
= note: `#[warn(hidden_glob_reexports)]` on by default
|
|
|
|
|
|
|
|
warning: private item shadows public glob re-export
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:27:9
|
|
|
|
|
|
2023-06-08 02:03:21 -05:00
|
|
|
LL | use self::other::Foo;
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the name `Foo` in the type namespace is supposed to be publicly re-exported here
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:25:13
|
|
|
|
|
|
2023-05-08 18:15:46 -05:00
|
|
|
LL | pub use self::inner::*;
|
2023-06-08 02:03:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
note: but the private item here shadows it
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:27:9
|
|
|
|
|
|
2023-05-08 18:15:46 -05:00
|
|
|
LL | use self::other::Foo;
|
2023-06-08 02:03:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2023-05-08 18:15:46 -05:00
|
|
|
|
|
|
|
warning: private item shadows public glob re-export
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:40:9
|
|
|
|
|
|
2023-06-08 02:03:21 -05:00
|
|
|
LL | use std::primitive::u8;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the name `u8` in the type namespace is supposed to be publicly re-exported here
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:38:13
|
|
|
|
|
|
2023-05-08 18:15:46 -05:00
|
|
|
LL | pub use self::no_def_id::*;
|
2023-06-08 02:03:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
note: but the private item here shadows it
|
|
|
|
--> $DIR/hidden_glob_reexports.rs:40:9
|
|
|
|
|
|
2023-05-08 18:15:46 -05:00
|
|
|
LL | use std::primitive::u8;
|
2023-06-08 02:03:21 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2023-05-08 18:15:46 -05:00
|
|
|
|
|
|
|
warning: 3 warnings emitted
|
|
|
|
|