rust/tests/ui/lint/anonymous-reexport.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-03-22 09:39:16 -05:00
error: unused import: `self::my_mod::TyFoo as _`
--> $DIR/anonymous-reexport.rs:12:9
|
2023-03-22 09:39:16 -05:00
LL | pub use self::my_mod::TyFoo as _;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
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-22 09:39:16 -05:00
error: unused import: `self::my_mod::Bar as _`
--> $DIR/anonymous-reexport.rs:13:9
|
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-12 09:23:32 -05:00
error: aborting due to 6 previous errors