rust/tests/ui/suggestions/recover-invalid-float.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
618 B
Plaintext
Raw Normal View History

error: float literals must have an integer part
2019-04-21 17:44:23 -05:00
--> $DIR/recover-invalid-float.rs:4:18
|
2019-04-21 17:44:23 -05:00
LL | let _: f32 = .3;
| ^^ help: must have an integer part: `0.3`
error: float literals must have an integer part
2019-04-21 17:44:23 -05:00
--> $DIR/recover-invalid-float.rs:6:18
|
2019-04-21 17:44:23 -05:00
LL | let _: f32 = .42f32;
| ^^^^^^ help: must have an integer part: `0.42f32`
error: float literals must have an integer part
2019-04-21 17:44:23 -05:00
--> $DIR/recover-invalid-float.rs:8:18
|
2019-04-21 17:44:23 -05:00
LL | let _: f64 = .5f64;
| ^^^^^ help: must have an integer part: `0.5f64`
2019-04-21 17:44:23 -05:00
error: aborting due to 3 previous errors