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

27 lines
510 B
Plaintext
Raw Normal View History

error: function `unused` is never used
--> $DIR/newline-span.rs:3:4
|
LL | fn unused() {
| ^^^^^^
|
2020-01-22 17:57:38 -06:00
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