blob: e10d28ad03a4e66859cb2594035301f76a3caf50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: struct `Whatever` is never constructed
--> $DIR/clone-debug-dead-code-in-the-same-struct.rs:4:12
|
LL | pub struct Whatever {
| ^^^^^^^^
|
note: the lint level is defined here
--> $DIR/clone-debug-dead-code-in-the-same-struct.rs:1:11
|
LL | #![forbid(dead_code)]
| ^^^^^^^^^
error: aborting due to 1 previous error
|