]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/lint-type-limits.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-type-limits.stderr
1 error: comparison is useless due to type limits
2 --> $DIR/lint-type-limits.rs:8:11
3 |
4 LL | while i >= 0 {
5 | ^^^^^^
6 |
7 = note: requested on the command line with `-D unused-comparisons`
8
9 error: comparison is useless due to type limits
10 --> $DIR/lint-type-limits.rs:19:13
11 |
12 LL | let _ = u > 255;
13 | ^^^^^^^
14
15 error: comparison is useless due to type limits
16 --> $DIR/lint-type-limits.rs:20:13
17 |
18 LL | let _ = 255 < u;
19 | ^^^^^^^
20
21 error: comparison is useless due to type limits
22 --> $DIR/lint-type-limits.rs:21:13
23 |
24 LL | let _ = u < 0;
25 | ^^^^^
26
27 error: comparison is useless due to type limits
28 --> $DIR/lint-type-limits.rs:22:13
29 |
30 LL | let _ = 0 > u;
31 | ^^^^^
32
33 error: comparison is useless due to type limits
34 --> $DIR/lint-type-limits.rs:23:13
35 |
36 LL | let _ = u <= 255;
37 | ^^^^^^^^
38
39 error: comparison is useless due to type limits
40 --> $DIR/lint-type-limits.rs:24:13
41 |
42 LL | let _ = 255 >= u;
43 | ^^^^^^^^
44
45 error: comparison is useless due to type limits
46 --> $DIR/lint-type-limits.rs:25:13
47 |
48 LL | let _ = u >= 0;
49 | ^^^^^^
50
51 error: comparison is useless due to type limits
52 --> $DIR/lint-type-limits.rs:26:13
53 |
54 LL | let _ = 0 <= u;
55 | ^^^^^^
56
57 error: aborting due to 9 previous errors
58