rust/tests/ui/lint/use-redundant/use-redundant.stderr

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

36 lines
806 B
Plaintext
Raw Normal View History

2019-03-17 10:55:32 +00:00
warning: unused import: `m1::*`
--> $DIR/use-redundant.rs:17:5
|
LL | use m1::*;
| ^^^^^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2019-03-17 10:55:32 +00:00
--> $DIR/use-redundant.rs:2:9
|
2024-04-11 18:10:34 +00:00
LL | #![warn(unused_imports, redundant_imports)]
2019-03-17 10:55:32 +00:00
| ^^^^^^^^^^^^^^
warning: unused import: `m2::*`
--> $DIR/use-redundant.rs:18:5
|
LL | use m2::*;
| ^^^^^
2024-04-11 18:10:34 +00:00
warning: the item `Bar` is imported redundantly
--> $DIR/use-redundant.rs:21:9
|
LL | use crate::foo::Bar;
| --------------- the item `Bar` is already imported here
...
LL | use crate::foo::Bar;
| ^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/use-redundant.rs:2:25
|
LL | #![warn(unused_imports, redundant_imports)]
| ^^^^^^^^^^^^^^^^^
warning: 3 warnings emitted