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

error: struct `Foo` is never constructed
  --> $DIR/unused-trait-with-assoc-const.rs:7:8
   |
LL | struct Foo;
   |        ^^^

error: aborting due to 2 previous errors