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