rust/src/test/ui/test-warns-dead-code.stderr

15 lines
324 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: function is never used: `dead`
2018-12-25 09:56:47 -06:00
--> $DIR/test-warns-dead-code.rs:5:1
2018-08-08 07:28:26 -05:00
|
LL | fn dead() {} //~ error: function is never used: `dead`
| ^^^^^^^^^
|
note: lint level defined here
2018-12-25 09:56:47 -06:00
--> $DIR/test-warns-dead-code.rs:3:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error