Skip to main content

max / quasi

374 B · 6 lines History Blame Raw
1 error: `label` is moved by both arms of a complementary pair. A guarded member is built whether or not it is placed, so `when` and `unless` on one predicate move it twice. Say it as one `given` over the same predicate with `true` and `false` arms, which are exclusive.
2 --> tests/ui/complementary_pair.rs:7:14
3 |
4 7 | cell label when compact;
5 | ^^^^^
6