about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code/with-core-crate.stderr
blob: f466a616580c521f51ea5bde2bedfca6bff6e7c1 (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 1 previous error