mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
274 B
Plaintext
15 lines
274 B
Plaintext
error: function `foo` is never used
|
|
--> $DIR/with-core-crate.rs:7:4
|
|
|
|
|
LL | fn foo() {
|
|
| ^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/with-core-crate.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|