mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
27 lines
510 B
Plaintext
27 lines
510 B
Plaintext
error: function `unused` is never used
|
|
--> $DIR/newline-span.rs:3:4
|
|
|
|
|
LL | fn unused() {
|
|
| ^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/newline-span.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
|
|
error: function `unused2` is never used
|
|
--> $DIR/newline-span.rs:7:4
|
|
|
|
|
LL | fn unused2(var: i32) {
|
|
| ^^^^^^^
|
|
|
|
error: function `unused3` is never used
|
|
--> $DIR/newline-span.rs:11:4
|
|
|
|
|
LL | fn unused3(
|
|
| ^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|