]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-type-limits3.stderr
5e30b1646a755d773926d5c8a607284667776bca
[rust.git] / src / test / ui / lint / lint-type-limits3.stderr
1 error: comparison is useless due to type limits
2   --> $DIR/lint-type-limits3.rs:8:11
3    |
4 LL |     while 200 != i { //~ ERROR comparison is useless due to type limits
5    |           ^^^^^^^^
6    |
7    = note: requested on the command line with `-D unused-comparisons`
8
9 warning: literal out of range for i8
10   --> $DIR/lint-type-limits3.rs:8:11
11    |
12 LL |     while 200 != i { //~ ERROR comparison is useless due to type limits
13    |           ^^^
14    |
15    = note: #[warn(overflowing_literals)] on by default
16
17 error: aborting due to previous error
18