blob: 7adcf884886e785aa9df9739f4b3381f34ffcb65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: function `foo` is never used
--> $DIR/with-core-crate.rs:7:4
|
LL | fn foo() {
| ^^^
|
note: the lint level is defined here
--> $DIR/with-core-crate.rs:1:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error
|