]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/no-hex-float-literal.stderr
Rollup merge of #106798 - scottmcm:signum-via-cmp, r=Mark-Simulacrum
[rust.git] / tests / ui / parser / no-hex-float-literal.stderr
1 error: hexadecimal float literal is not supported
2   --> $DIR/no-hex-float-literal.rs:4:5
3    |
4 LL |     0x567.89;
5    |     ^^^^^^^^
6
7 error: invalid suffix `f` for float literal
8   --> $DIR/no-hex-float-literal.rs:6:18
9    |
10 LL |     0xDEAD.BEEFp-2f;
11    |                  ^^ invalid suffix `f`
12    |
13    = help: valid suffixes are `f32` and `f64`
14
15 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
16   --> $DIR/no-hex-float-literal.rs:2:11
17    |
18 LL |     0xABC.Df;
19    |           ^^
20
21 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
22   --> $DIR/no-hex-float-literal.rs:6:12
23    |
24 LL |     0xDEAD.BEEFp-2f;
25    |            ^^^^^
26
27 error: aborting due to 4 previous errors
28
29 For more information about this error, try `rustc --explain E0610`.