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

error: aborting due to previous error