summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-directives-on-use-items-issue-10534.stderr
blob: ccb139e0ed61565a8b583cad19fe288c08c91389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: unused import: `a::x`
  --> $DIR/lint-directives-on-use-items-issue-10534.rs:12:9
   |
LL |     use a::x;
   |         ^^^^
   |
note: the lint level is defined here
  --> $DIR/lint-directives-on-use-items-issue-10534.rs:1:9
   |
LL | #![deny(unused_imports)]
   |         ^^^^^^^^^^^^^^

error: unused import: `a::y`
  --> $DIR/lint-directives-on-use-items-issue-10534.rs:21:9
   |
LL |     use a::y;
   |         ^^^^
   |
note: the lint level is defined here
  --> $DIR/lint-directives-on-use-items-issue-10534.rs:20:12
   |
LL |     #[deny(unused_imports)]
   |            ^^^^^^^^^^^^^^

error: aborting due to 2 previous errors