fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
790 B29 linesraw
1error: hexadecimal float literal is not supported
2  --> $DIR/no-hex-float-literal.rs:4:5
3   |
4LL |     0x567.89;
5   |     ^^^^^^^^
6
7error: invalid suffix `f` for float literal
8  --> $DIR/no-hex-float-literal.rs:6:18
9   |
10LL |     0xDEAD.BEEFp-2f;
11   |                  ^^ invalid suffix `f`
12   |
13   = help: valid suffixes are `f32` and `f64`
14
15error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
16  --> $DIR/no-hex-float-literal.rs:2:11
17   |
18LL |     0xABC.Df;
19   |           ^^
20
21error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
22  --> $DIR/no-hex-float-literal.rs:6:12
23   |
24LL |     0xDEAD.BEEFp-2f;
25   |            ^^^^^
26
27error: aborting due to 4 previous errors
28
29For more information about this error, try `rustc --explain E0610`.