2023-03-22 09:39:16 -05:00
|
|
|
error: unused import: `self::my_mod::TyFoo as _`
|
|
|
|
--> $DIR/anonymous-reexport.rs:12:9
|
2023-03-10 15:20:29 -06:00
|
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
LL | pub use self::my_mod::TyFoo as _;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-03-10 15:20:29 -06:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/anonymous-reexport.rs:1:9
|
|
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
LL | #![deny(unused_imports)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
2023-03-10 15:20:29 -06:00
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
error: unused import: `self::my_mod::Bar as _`
|
|
|
|
--> $DIR/anonymous-reexport.rs:13:9
|
2023-03-10 15:20:29 -06:00
|
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
LL | pub use self::my_mod::Bar as _;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: unused import: `self::my_mod::TyBar as _`
|
|
|
|
--> $DIR/anonymous-reexport.rs:14:9
|
2023-03-12 09:23:32 -05:00
|
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
LL | pub use self::my_mod::TyBar as _;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-03-12 09:23:32 -05:00
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
error: unused import: `Bar as _`
|
2023-03-12 09:23:32 -05:00
|
|
|
--> $DIR/anonymous-reexport.rs:15:24
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _};
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
error: unused import: `Bar as _`
|
2023-03-12 09:23:32 -05:00
|
|
|
--> $DIR/anonymous-reexport.rs:16:24
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, Foo as _};
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
2023-03-22 09:39:16 -05:00
|
|
|
error: unused imports: `Bar as _`, `TyBar as _`
|
2023-03-12 09:23:32 -05:00
|
|
|
--> $DIR/anonymous-reexport.rs:17:24
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, TyBar as _};
|
2023-03-22 09:39:16 -05:00
|
|
|
| ^^^^^^^^ ^^^^^^^^^^
|
2023-03-10 15:20:29 -06:00
|
|
|
|
2023-03-12 09:23:32 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2023-03-10 15:20:29 -06:00
|
|
|
|