1 error: comparison is useless due to type limits
2 --> $DIR/lint-type-limits.rs:8:11
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:19:13
15 error: comparison is useless due to type limits
16 --> $DIR/lint-type-limits.rs:20:13
21 error: comparison is useless due to type limits
22 --> $DIR/lint-type-limits.rs:21:13
27 error: comparison is useless due to type limits
28 --> $DIR/lint-type-limits.rs:22:13
33 error: comparison is useless due to type limits
34 --> $DIR/lint-type-limits.rs:23:13
36 LL | let _ = u <= 255;
39 error: comparison is useless due to type limits
40 --> $DIR/lint-type-limits.rs:24:13
42 LL | let _ = 255 >= u;
45 error: comparison is useless due to type limits
46 --> $DIR/lint-type-limits.rs:25:13
51 error: comparison is useless due to type limits
52 --> $DIR/lint-type-limits.rs:26:13
57 error: aborting due to 9 previous errors