rust/tests/ui/imports/unused-import-issue-87973.f...

8 lines
135 B
Rust

//@ run-rustfix
#![deny(unused_imports)]
// Check that attributes get removed too. See #87973.
//~^ ERROR unused import
fn main() {}