rust/src/test/ui/fail-no-dead-code-core.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

15 lines
282 B
Plaintext

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