1 error: offset calculation on zero-sized value
2 --> $DIR/zero_offset.rs:5:9
7 = note: `#[deny(clippy::zst_offset)]` on by default
9 error: offset calculation on zero-sized value
10 --> $DIR/zero_offset.rs:6:9
12 LL | m.wrapping_add(0);
15 error: offset calculation on zero-sized value
16 --> $DIR/zero_offset.rs:7:9
21 error: offset calculation on zero-sized value
22 --> $DIR/zero_offset.rs:8:9
24 LL | m.wrapping_sub(0);
27 error: offset calculation on zero-sized value
28 --> $DIR/zero_offset.rs:11:9
33 error: offset calculation on zero-sized value
34 --> $DIR/zero_offset.rs:12:9
36 LL | c.wrapping_add(0);
39 error: offset calculation on zero-sized value
40 --> $DIR/zero_offset.rs:13:9
45 error: offset calculation on zero-sized value
46 --> $DIR/zero_offset.rs:14:9
48 LL | c.wrapping_sub(0);
51 error: aborting due to 8 previous errors