summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/dead-code/basic.stderr
blob: 7d068cead44b17bd6b86aa66d9821e58d72d896f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: function `foo` is never used
  --> $DIR/basic.rs:4:4
   |
LL | fn foo() {
   |    ^^^
   |
note: the lint level is defined here
  --> $DIR/basic.rs:1:9
   |
LL | #![deny(dead_code)]
   |         ^^^^^^^^^

error: aborting due to previous error