rust/tests/ui/parser/underscore-suffix-for-float.rs

5 lines
188 B
Rust

fn main() {
let a = 42._; //~ ERROR expected identifier, found reserved identifier `_`
//~| ERROR `{integer}` is a primitive type and therefore doesn't have fields
}