about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code/unused-trait-with-assoc-ty.stderr
blob: ab73c64063431afa2b33e5a97d5b7297b45a4756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: struct `T1` is never constructed
  --> $DIR/unused-trait-with-assoc-ty.rs:3:8
   |
LL | struct T1;
   |        ^^
   |
note: the lint level is defined here
  --> $DIR/unused-trait-with-assoc-ty.rs:1:9
   |
LL | #![deny(dead_code)]
   |         ^^^^^^^^^

error: trait `Foo` is never used
  --> $DIR/unused-trait-with-assoc-ty.rs:5:7
   |
LL | trait Foo { type Unused; }
   |       ^^^

error: aborting due to 2 previous errors