mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
error: unused import: `self::my_mod::TyFoo as _`
|
|
--> $DIR/anonymous-reexport.rs:12:9
|
|
|
|
|
LL | pub use self::my_mod::TyFoo as _;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/anonymous-reexport.rs:1:9
|
|
|
|
|
LL | #![deny(unused_imports)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: unused import: `self::my_mod::Bar as _`
|
|
--> $DIR/anonymous-reexport.rs:13:9
|
|
|
|
|
LL | pub use self::my_mod::Bar as _;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unused import: `self::my_mod::TyBar as _`
|
|
--> $DIR/anonymous-reexport.rs:14:9
|
|
|
|
|
LL | pub use self::my_mod::TyBar as _;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unused import: `Bar as _`
|
|
--> $DIR/anonymous-reexport.rs:15:24
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _};
|
|
| ^^^^^^^^
|
|
|
|
error: unused import: `Bar as _`
|
|
--> $DIR/anonymous-reexport.rs:16:24
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, Foo as _};
|
|
| ^^^^^^^^
|
|
|
|
error: unused imports: `Bar as _`, `TyBar as _`
|
|
--> $DIR/anonymous-reexport.rs:17:24
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, TyBar as _};
|
|
| ^^^^^^^^ ^^^^^^^^^^
|
|
|
|
error: aborting due to 6 previous errors
|
|
|