mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
15 lines
286 B
Plaintext
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
|
|
|