mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-21 09:46:45 +00:00
10 lines
335 B
Rust
10 lines
335 B
Rust
fn main() {
|
|
0xABC.Df;
|
|
//~^ ERROR `{integer}` is a primitive type and therefore doesn't have fields
|
|
0x567.89;
|
|
//~^ ERROR hexadecimal float literal is not supported
|
|
0xDEAD.BEEFp-2f;
|
|
//~^ ERROR invalid suffix `f` for float literal
|
|
//~| ERROR `{integer}` is a primitive type and therefore doesn't have fields
|
|
}
|