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 13:00:06 +00:00
fn main() {
2018-03-08 11:27:23 +00: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 13:00:06 +00:00
}