41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
254 B
Plaintext
15 lines
254 B
Plaintext
error: function `foo` is never used
|
|
--> $DIR/basic.rs:4:4
|
|
|
|
|
LL | fn foo() {
|
|
| ^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/basic.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|