1 error: &-masking with zero
2 --> $DIR/bit_masks.rs:12:5
7 = note: `-D bad-bit-mask` implied by `-D warnings`
9 error: incompatible bit mask: `_ & 2` can never be equal to `1`
10 --> $DIR/bit_masks.rs:15:5
15 error: incompatible bit mask: `_ | 3` can never be equal to `2`
16 --> $DIR/bit_masks.rs:19:5
21 error: incompatible bit mask: `_ & 1` will never be higher than `1`
22 --> $DIR/bit_masks.rs:21:5
27 error: incompatible bit mask: `_ | 2` will always be higher than `1`
28 --> $DIR/bit_masks.rs:25:5
33 error: incompatible bit mask: `_ & 7` can never be equal to `8`
34 --> $DIR/bit_masks.rs:32:5
36 32 | x & THREE_BITS == 8;
39 error: incompatible bit mask: `_ | 7` will never be lower than `7`
40 --> $DIR/bit_masks.rs:33:5
42 33 | x | EVEN_MORE_REDIRECTION < 7;
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45 error: &-masking with zero
46 --> $DIR/bit_masks.rs:35:5
51 error: incompatible bit mask: `_ | 2` will always be higher than `1`
52 --> $DIR/bit_masks.rs:39:5
57 error: incompatible bit mask: `_ | 3` can never be equal to `2`
58 --> $DIR/bit_masks.rs:40:5
63 error: incompatible bit mask: `_ & 2` can never be equal to `1`
64 --> $DIR/bit_masks.rs:41:5
69 error: ineffective bit mask: `x | 1` compared to `3`, is the same as x compared directly
70 --> $DIR/bit_masks.rs:52:5
75 = note: `-D ineffective-bit-mask` implied by `-D warnings`
77 error: ineffective bit mask: `x | 1` compared to `4`, is the same as x compared directly
78 --> $DIR/bit_masks.rs:53:5
83 error: ineffective bit mask: `x | 1` compared to `3`, is the same as x compared directly
84 --> $DIR/bit_masks.rs:54:5
89 error: ineffective bit mask: `x | 1` compared to `8`, is the same as x compared directly
90 --> $DIR/bit_masks.rs:55:5