File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
error: literal out of range for `i8`
2
- --> $DIR/lint-type-overflow2.rs:8 :20
2
+ --> $DIR/lint-type-overflow2.rs:7 :20
3
3
|
4
4
LL | let x2: i8 = --128;
5
5
| ^^^
@@ -11,25 +11,25 @@ LL | #![deny(overflowing_literals)]
11
11
| ^^^^^^^^^^^^^^^^^^^^
12
12
13
13
error: literal out of range for `f32`
14
- --> $DIR/lint-type-overflow2.rs:10 :14
14
+ --> $DIR/lint-type-overflow2.rs:9 :14
15
15
|
16
16
LL | let x = -3.40282357e+38_f32;
17
17
| ^^^^^^^^^^^^^^^^^^
18
18
19
19
error: literal out of range for `f32`
20
- --> $DIR/lint-type-overflow2.rs:11 :14
20
+ --> $DIR/lint-type-overflow2.rs:10 :14
21
21
|
22
22
LL | let x = 3.40282357e+38_f32;
23
23
| ^^^^^^^^^^^^^^^^^^
24
24
25
25
error: literal out of range for `f64`
26
- --> $DIR/lint-type-overflow2.rs:12 :14
26
+ --> $DIR/lint-type-overflow2.rs:11 :14
27
27
|
28
28
LL | let x = -1.7976931348623159e+308_f64;
29
29
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
30
31
31
error: literal out of range for `f64`
32
- --> $DIR/lint-type-overflow2.rs:13 :14
32
+ --> $DIR/lint-type-overflow2.rs:12 :14
33
33
|
34
34
LL | let x = 1.7976931348623159e+308_f64;
35
35
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments