rust/tests/ui/lint/dead-code/unused-adt-impls-pub-trait.stderr
2024-03-10 23:30:53 +08:00

15 lines
295 B
Plaintext

error: enum `Foo` is never used
--> $DIR/unused-adt-impls-pub-trait.rs:3:6
|
LL | enum Foo {}
| ^^^
|
note: the lint level is defined here
--> $DIR/unused-adt-impls-pub-trait.rs:1:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to 1 previous error