1 error: unused import: `std::fmt::{}`
2 --> $DIR/lint-unused-imports.rs:8:5
7 note: the lint level is defined here
8 --> $DIR/lint-unused-imports.rs:1:9
10 LL | #![deny(unused_imports)]
13 error: unused imports: `None`, `Some`
14 --> $DIR/lint-unused-imports.rs:12:27
16 LL | use std::option::Option::{Some, None};
19 error: unused import: `test::A`
20 --> $DIR/lint-unused-imports.rs:15:5
25 error: unused import: `bar`
26 --> $DIR/lint-unused-imports.rs:24:18
28 LL | use test2::{foo, bar};
31 error: unused import: `foo::Square`
32 --> $DIR/lint-unused-imports.rs:52:13
37 error: the item `g` is imported redundantly
38 --> $DIR/lint-unused-imports.rs:68:9
48 | |_- the item `g` is already defined here
50 error: unused import: `self::g`
51 --> $DIR/lint-unused-imports.rs:68:9
56 error: the item `foo` is imported redundantly
57 --> $DIR/lint-unused-imports.rs:78:9
59 LL | use test2::{foo, bar};
60 | --- the item `foo` is already imported here
65 error: unused import: `test2::foo`
66 --> $DIR/lint-unused-imports.rs:78:9
71 error: unused import: `test::B2`
72 --> $DIR/lint-unused-imports.rs:20:5
77 error: aborting due to 10 previous errors