]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-type-limits2.stderr
Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus
[rust.git] / src / test / ui / lint / lint-type-limits2.stderr
1 error: comparison is useless due to type limits
2   --> $DIR/lint-type-limits2.rs:13:5
3    |
4 LL |     128 > bar()
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-limits2.rs:13:5
11    |
12 LL |     128 > bar()
13    |     ^^^
14    |
15 note: the lint level is defined here
16   --> $DIR/lint-type-limits2.rs:2:9
17    |
18 LL | #![warn(overflowing_literals)]
19    |         ^^^^^^^^^^^^^^^^^^^^
20
21 error: aborting due to previous error
22