fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: field `b` is never read 2 --> $DIR/offset-of.rs:8:5 3 | 4LL | struct Alpha { 5 | ----- field in this struct 6LL | a: (), 7LL | b: (), 8 | ^ 9 | 10note: the lint level is defined here 11 --> $DIR/offset-of.rs:2:9 12 | 13LL | #![deny(dead_code)] 14 | ^^^^^^^^^ 15 16error: field `a` is never read 17 --> $DIR/offset-of.rs:13:5 18 | 19LL | struct Beta { 20 | ---- field in this struct 21LL | a: (), 22 | ^ 23 24error: field `a` is never read 25 --> $DIR/offset-of.rs:18:5 26 | 27LL | struct Gamma { 28 | ----- field in this struct 29LL | a: (), 30 | ^ 31 32error: field `b` is never read 33 --> $DIR/offset-of.rs:24:5 34 | 35LL | struct Delta { 36 | ----- field in this struct 37LL | a: (), 38LL | b: (), 39 | ^ 40 41error: field `a` is never read 42 --> $DIR/offset-of.rs:35:5 43 | 44LL | struct Project<T: Trait> { 45 | ------- field in this struct 46LL | a: u8, 47 | ^ 48 49error: aborting due to 5 previous errors 50