blob: 4924d95208a163c388e9b3e1673a0e8ec091b5fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
warning: trait `Trait` is never used
--> $DIR/target-expr-pass.rs:17:7
|
LL | trait Trait {
| ^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: struct `F` is never constructed
--> $DIR/target-expr-pass.rs:21:8
|
LL | struct F;
| ^
warning: struct `S` is never constructed
--> $DIR/target-expr-pass.rs:24:8
|
LL | struct S(F);
| ^
warning: 3 warnings emitted
|