18 lines
364 B
Plaintext
18 lines
364 B
Plaintext
error: the item `S` is imported redundantly
|
|
--> $DIR/issue-59896.rs:6:9
|
|
|
|
|
LL | struct S;
|
|
| --------- the item `S` is already defined here
|
|
...
|
|
LL | use S;
|
|
| ^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-59896.rs:1:9
|
|
|
|
|
LL | #![deny(redundant_imports)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|