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