fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: enum `Enum` is never used 2 --> $DIR/unused-warning-point-at-identifier.rs:5:6 3 | 4LL | enum Enum { 5 | ^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/unused-warning-point-at-identifier.rs:3:9 9 | 10LL | #![warn(unused)] 11 | ^^^^^^ 12 = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` 13 14warning: struct `Struct` is never constructed 15 --> $DIR/unused-warning-point-at-identifier.rs:12:8 16 | 17LL | struct Struct { 18 | ^^^^^^ 19 20warning: function `func` is never used 21 --> $DIR/unused-warning-point-at-identifier.rs:19:4 22 | 23LL | fn func() -> usize { 24 | ^^^^ 25 26warning: function `func_complete_span` is never used 27 --> $DIR/unused-warning-point-at-identifier.rs:24:1 28 | 29LL | func_complete_span() 30 | ^^^^^^^^^^^^^^^^^^ 31 32warning: 4 warnings emitted 33