1 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
2 --> absurd-extreme-comparisons.rs:10:5
7 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
8 = help: because 0 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 0 instead
10 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
11 --> absurd-extreme-comparisons.rs:11:5
16 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
17 = help: because Z is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == Z instead
19 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
20 --> absurd-extreme-comparisons.rs:12:5
25 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
26 = help: because Z is the minimum value for this type, this comparison is always false
28 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
29 --> absurd-extreme-comparisons.rs:13:5
34 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
35 = help: because Z is the minimum value for this type, the case where the two sides are not equal never occurs, consider using Z == u instead
37 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
38 --> absurd-extreme-comparisons.rs:14:5
43 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
44 = help: because Z is the minimum value for this type, this comparison is always false
46 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
47 --> absurd-extreme-comparisons.rs:15:5
49 15 | u > std::u32::MAX;
52 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
53 = help: because std::u32::MAX is the maximum value for this type, this comparison is always false
55 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
56 --> absurd-extreme-comparisons.rs:16:5
58 16 | u >= std::u32::MAX;
61 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
62 = help: because std::u32::MAX is the maximum value for this type, the case where the two sides are not equal never occurs, consider using u == std::u32::MAX instead
64 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
65 --> absurd-extreme-comparisons.rs:17:5
67 17 | std::u32::MAX < u;
70 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
71 = help: because std::u32::MAX is the maximum value for this type, this comparison is always false
73 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
74 --> absurd-extreme-comparisons.rs:18:5
76 18 | std::u32::MAX <= u;
79 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
80 = help: because std::u32::MAX is the maximum value for this type, the case where the two sides are not equal never occurs, consider using std::u32::MAX == u instead
82 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
83 --> absurd-extreme-comparisons.rs:19:5
88 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
89 = help: because 1-1 is the minimum value for this type, this comparison is always false
91 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
92 --> absurd-extreme-comparisons.rs:20:5
97 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
98 = help: because !0 is the maximum value for this type, the case where the two sides are not equal never occurs, consider using u == !0 instead
100 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
101 --> absurd-extreme-comparisons.rs:21:5
106 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
107 = help: because 12 - 2*6 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 12 - 2*6 instead
109 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
110 --> absurd-extreme-comparisons.rs:23:5
115 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
116 = help: because -127 - 1 is the minimum value for this type, this comparison is always false
118 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
119 --> absurd-extreme-comparisons.rs:24:5
121 24 | std::i8::MAX >= i;
124 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
125 = help: because std::i8::MAX is the maximum value for this type, this comparison is always true
127 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
128 --> absurd-extreme-comparisons.rs:25:5
130 25 | 3-7 < std::i32::MIN;
131 | ^^^^^^^^^^^^^^^^^^^
133 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
134 = help: because std::i32::MIN is the minimum value for this type, this comparison is always false
136 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
137 --> absurd-extreme-comparisons.rs:27:5
142 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
143 = help: because true is the maximum value for this type, the case where the two sides are not equal never occurs, consider using b == true instead
145 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
146 --> absurd-extreme-comparisons.rs:28:5
151 = note: `-D absurd-extreme-comparisons` implied by `-D warnings`
152 = help: because false is the minimum value for this type, this comparison is always false
154 error: <-comparison of unit values detected. This will always be false
155 --> absurd-extreme-comparisons.rs:31:5
160 = note: `-D unit-cmp` implied by `-D warnings`
162 error: aborting due to previous error(s)
165 To learn more, run the command again with --verbose.