]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: function is never used: `foo` |
60c5eb7d | 2 | --> $DIR/basic.rs:4:4 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | fn foo() { |
60c5eb7d | 5 | | ^^^ |
b7449926 | 6 | | |
74b04a01 | 7 | note: the lint level is defined here |
60c5eb7d | 8 | --> $DIR/basic.rs:1:9 |
b7449926 XL |
9 | | |
10 | LL | #![deny(dead_code)] | |
11 | | ^^^^^^^^^ | |
12 | ||
13 | error: aborting due to previous error | |
14 |