rust/tests/ui/lint/dead-code/newline-span.stderr

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