|
1 | 1 | error: you are trying to use classic C overflow conditions that will fail in Rust
|
2 |
| - --> $DIR/overflow_check_conditional.rs:7:8 |
| 2 | + --> $DIR/overflow_check_conditional.rs:4:8 |
3 | 3 | |
|
4 | 4 | LL | if a + b < a {}
|
5 | 5 | | ^^^^^^^^^
|
6 | 6 | |
|
7 | 7 | = note: `-D clippy::overflow-check-conditional` implied by `-D warnings`
|
8 | 8 |
|
9 | 9 | error: you are trying to use classic C overflow conditions that will fail in Rust
|
10 |
| - --> $DIR/overflow_check_conditional.rs:8:8 |
| 10 | + --> $DIR/overflow_check_conditional.rs:5:8 |
11 | 11 | |
|
12 | 12 | LL | if a > a + b {}
|
13 | 13 | | ^^^^^^^^^
|
14 | 14 |
|
15 | 15 | error: you are trying to use classic C overflow conditions that will fail in Rust
|
16 |
| - --> $DIR/overflow_check_conditional.rs:9:8 |
| 16 | + --> $DIR/overflow_check_conditional.rs:6:8 |
17 | 17 | |
|
18 | 18 | LL | if a + b < b {}
|
19 | 19 | | ^^^^^^^^^
|
20 | 20 |
|
21 | 21 | error: you are trying to use classic C overflow conditions that will fail in Rust
|
22 |
| - --> $DIR/overflow_check_conditional.rs:10:8 |
| 22 | + --> $DIR/overflow_check_conditional.rs:7:8 |
23 | 23 | |
|
24 | 24 | LL | if b > a + b {}
|
25 | 25 | | ^^^^^^^^^
|
26 | 26 |
|
27 | 27 | error: you are trying to use classic C underflow conditions that will fail in Rust
|
28 |
| - --> $DIR/overflow_check_conditional.rs:11:8 |
| 28 | + --> $DIR/overflow_check_conditional.rs:8:8 |
29 | 29 | |
|
30 | 30 | LL | if a - b > b {}
|
31 | 31 | | ^^^^^^^^^
|
32 | 32 |
|
33 | 33 | error: you are trying to use classic C underflow conditions that will fail in Rust
|
34 |
| - --> $DIR/overflow_check_conditional.rs:12:8 |
| 34 | + --> $DIR/overflow_check_conditional.rs:9:8 |
35 | 35 | |
|
36 | 36 | LL | if b < a - b {}
|
37 | 37 | | ^^^^^^^^^
|
38 | 38 |
|
39 | 39 | error: you are trying to use classic C underflow conditions that will fail in Rust
|
40 |
| - --> $DIR/overflow_check_conditional.rs:13:8 |
| 40 | + --> $DIR/overflow_check_conditional.rs:10:8 |
41 | 41 | |
|
42 | 42 | LL | if a - b > a {}
|
43 | 43 | | ^^^^^^^^^
|
44 | 44 |
|
45 | 45 | error: you are trying to use classic C underflow conditions that will fail in Rust
|
46 |
| - --> $DIR/overflow_check_conditional.rs:14:8 |
| 46 | + --> $DIR/overflow_check_conditional.rs:11:8 |
47 | 47 | |
|
48 | 48 | LL | if a < a - b {}
|
49 | 49 | | ^^^^^^^^^
|
|
0 commit comments