rust/tests/ui/parser/issue-90728.rs
2023-01-11 09:32:08 +00:00

7 lines
206 B
Rust

fn main() {
a.5.2E+
//~^ ERROR: unexpected token: `5.2E+`
//~| ERROR: expected one of `.`, `;`, `?`, `}`, or an operator, found `5.2E+`
//~| ERROR: expected at least one digit in exponent
}