10 lines
127 B
Rust
10 lines
127 B
Rust
|
#![deny(unused_imports)]
|
||
|
|
||
|
struct S;
|
||
|
|
||
|
fn main() {
|
||
|
use S; //~ ERROR the item `S` is imported redundantly
|
||
|
|
||
|
let _s = S;
|
||
|
}
|