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

15 lines
272 B
Plaintext

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