mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
15 lines
252 B
Plaintext
15 lines
252 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 previous error
|
|
|