Files
rust/tests/ui/lint/unused/issue-59896.rs

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

10 lines
130 B
Rust
Raw Normal View History

2024-04-11 14:10:34 -04:00
#![deny(redundant_imports)]
2019-04-12 11:42:52 -07:00
struct S;
fn main() {
2024-04-11 14:10:34 -04:00
use S; //~ ERROR the item `S` is imported redundantly
2019-04-12 11:42:52 -07:00
let _s = S;
}