1 2 3 4 5 6 7 8 9
#![deny(unused_imports)] struct S; fn main() { use S; //~ ERROR the item `S` is imported redundantly let _s = S; }