This reverts commit 31fe9628cf830a08e7194a446f66c668aaea86e9, reversing changes made to f20307851ead9fbbb9fa88bbffb3258a069230a6.
25 lines
592 B
Plaintext
25 lines
592 B
Plaintext
error: struct `T` is never constructed
|
|
--> $DIR/unused-struct-derive-default.rs:4:8
|
|
|
|
|
LL | struct T;
|
|
| ^
|
|
|
|
|
= note: `T` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-struct-derive-default.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
|
|
error: variant `B` is never constructed
|
|
--> $DIR/unused-struct-derive-default.rs:13:5
|
|
|
|
|
LL | enum E {
|
|
| - variant in this enum
|
|
...
|
|
LL | B,
|
|
| ^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|