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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
188 B
Rust
Raw Normal View History

2017-05-12 22:00:06 +09:00
fn main() {
2018-03-08 14:27:23 +03:00
let a = 42._; //~ ERROR expected identifier, found reserved identifier `_`
//~| ERROR `{integer}` is a primitive type and therefore doesn't have fields
2017-05-12 22:00:06 +09:00
}