rust/src/test/ui/fail-no-dead-code-core.stderr

15 lines
317 B
Plaintext

error: function is never used: `foo`
--> $DIR/fail-no-dead-code-core.rs:17:1
|
LL | fn foo() { //~ ERROR function is never used
| ^^^^^^^^
|
note: lint level defined here
--> $DIR/fail-no-dead-code-core.rs:11:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error