summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/issue-59896.stderr
blob: 95b7938ae03832baa5364707e002afe45d04430c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: the item `S` is imported redundantly
  --> $DIR/issue-59896.rs:6:9
   |
LL | struct S;
   | --------- the item `S` is already defined here
...
LL |     use S;
   |         ^
   |
note: the lint level is defined here
  --> $DIR/issue-59896.rs:1:9
   |
LL | #![deny(unused_imports)]
   |         ^^^^^^^^^^^^^^

error: aborting due to previous error