mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
9 lines
135 B
Rust
9 lines
135 B
Rust
|
// run-rustfix
|
||
|
#![deny(unused_imports)]
|
||
|
|
||
|
// Check that attributes get removed too. See #87973.
|
||
|
|
||
|
//~^ ERROR unused import
|
||
|
|
||
|
fn main() {}
|