rust/tests/ui/test-attrs/test-warns-dead-code.stderr
2023-01-11 09:32:08 +00:00

15 lines
286 B
Plaintext

error: function `dead` is never used
--> $DIR/test-warns-dead-code.rs:5:4
|
LL | fn dead() {}
| ^^^^
|
note: the lint level is defined here
--> $DIR/test-warns-dead-code.rs:3:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error