]>
Commit | Line | Data |
---|---|---|
ea8adc8c | 1 | warning: enum is never used: `Enum` |
0731742a | 2 | --> $DIR/unused-warning-point-at-signature.rs:5:1 |
ea8adc8c | 3 | | |
532ac7d7 | 4 | LL | enum Enum { |
ea8adc8c XL |
5 | | ^^^^^^^^^ |
6 | | | |
7 | note: lint level defined here | |
0731742a | 8 | --> $DIR/unused-warning-point-at-signature.rs:3:9 |
ea8adc8c | 9 | | |
0531ce1d | 10 | LL | #![warn(unused)] |
ea8adc8c | 11 | | ^^^^^^ |
416331ca | 12 | = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` |
ea8adc8c | 13 | |
b7449926 | 14 | warning: struct is never constructed: `Struct` |
0731742a | 15 | --> $DIR/unused-warning-point-at-signature.rs:12:1 |
ea8adc8c | 16 | | |
532ac7d7 | 17 | LL | struct Struct { |
ea8adc8c XL |
18 | | ^^^^^^^^^^^^^ |
19 | ||
20 | warning: function is never used: `func` | |
0731742a | 21 | --> $DIR/unused-warning-point-at-signature.rs:19:1 |
ea8adc8c | 22 | | |
532ac7d7 | 23 | LL | fn func() -> usize { |
ea8adc8c XL |
24 | | ^^^^^^^^^^^^^^^^^^ |
25 | ||
26 | warning: function is never used: `func_complete_span` | |
0731742a | 27 | --> $DIR/unused-warning-point-at-signature.rs:23:1 |
ea8adc8c | 28 | | |
532ac7d7 | 29 | LL | / fn |
0531ce1d XL |
30 | LL | | func_complete_span() |
31 | LL | | -> usize | |
32 | LL | | { | |
33 | LL | | 3 | |
34 | LL | | } | |
ea8adc8c XL |
35 | | |_^ |
36 |