1 error: &-masking with zero
7 = note: `-D bad-bit-mask` implied by `-D warnings`
9 error: incompatible bit mask: `_ & 2` can never be equal to `1`
15 = note: `-D bad-bit-mask` implied by `-D warnings`
17 error: incompatible bit mask: `_ | 3` can never be equal to `2`
23 = note: `-D bad-bit-mask` implied by `-D warnings`
25 error: incompatible bit mask: `_ & 1` will never be higher than `1`
31 = note: `-D bad-bit-mask` implied by `-D warnings`
33 error: incompatible bit mask: `_ | 2` will always be higher than `1`
39 = note: `-D bad-bit-mask` implied by `-D warnings`
41 error: incompatible bit mask: `_ & 7` can never be equal to `8`
44 32 | x & THREE_BITS == 8;
47 = note: `-D bad-bit-mask` implied by `-D warnings`
49 error: incompatible bit mask: `_ | 7` will never be lower than `7`
52 33 | x | EVEN_MORE_REDIRECTION < 7;
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 = note: `-D bad-bit-mask` implied by `-D warnings`
57 error: &-masking with zero
63 = note: `-D bad-bit-mask` implied by `-D warnings`
65 error: incompatible bit mask: `_ | 2` will always be higher than `1`
71 = note: `-D bad-bit-mask` implied by `-D warnings`
73 error: incompatible bit mask: `_ | 3` can never be equal to `2`
79 = note: `-D bad-bit-mask` implied by `-D warnings`
81 error: incompatible bit mask: `_ & 2` can never be equal to `1`
87 = note: `-D bad-bit-mask` implied by `-D warnings`
89 error: ineffective bit mask: `x | 1` compared to `3`, is the same as x compared directly
95 = note: `-D ineffective-bit-mask` implied by `-D warnings`
97 error: ineffective bit mask: `x | 1` compared to `4`, is the same as x compared directly
103 = note: `-D ineffective-bit-mask` implied by `-D warnings`
105 error: ineffective bit mask: `x | 1` compared to `3`, is the same as x compared directly
106 --> bit_masks.rs:54:5
111 = note: `-D ineffective-bit-mask` implied by `-D warnings`
113 error: ineffective bit mask: `x | 1` compared to `8`, is the same as x compared directly
114 --> bit_masks.rs:55:5
119 = note: `-D ineffective-bit-mask` implied by `-D warnings`
121 error: aborting due to previous error(s)
124 To learn more, run the command again with --verbose.