1 error: comparison is useless due to type limits
2 --> $DIR/lint-type-limits.rs:18:11
4 LL | while i >= 0 { //~ ERROR comparison is useless due to type limits
7 = note: requested on the command line with `-D unused-comparisons`
9 error: comparison is useless due to type limits
10 --> $DIR/lint-type-limits.rs:29:13
12 LL | let _ = u > 255; //~ ERROR comparison is useless due to type limits
15 error: comparison is useless due to type limits
16 --> $DIR/lint-type-limits.rs:30:13
18 LL | let _ = 255 < u; //~ ERROR comparison is useless due to type limits
21 error: comparison is useless due to type limits
22 --> $DIR/lint-type-limits.rs:31:13
24 LL | let _ = u < 0; //~ ERROR comparison is useless due to type limits
27 error: comparison is useless due to type limits
28 --> $DIR/lint-type-limits.rs:32:13
30 LL | let _ = 0 > u; //~ ERROR comparison is useless due to type limits
33 error: comparison is useless due to type limits
34 --> $DIR/lint-type-limits.rs:33:13
36 LL | let _ = u <= 255; //~ ERROR comparison is useless due to type limits
39 error: comparison is useless due to type limits
40 --> $DIR/lint-type-limits.rs:34:13
42 LL | let _ = 255 >= u; //~ ERROR comparison is useless due to type limits
45 error: comparison is useless due to type limits
46 --> $DIR/lint-type-limits.rs:35:13
48 LL | let _ = u >= 0; //~ ERROR comparison is useless due to type limits
51 error: comparison is useless due to type limits
52 --> $DIR/lint-type-limits.rs:36:13
54 LL | let _ = 0 <= u; //~ ERROR comparison is useless due to type limits
57 error: aborting due to 9 previous errors