1
Fork 0
rust/tests/ui/parser/issues/issue-3036.rs

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

8 lines
135 B
Rust
Raw Normal View History

2020-07-02 14:32:12 +09:00
// run-rustfix
// Testing that semicolon tokens are printed correctly in errors
2020-07-02 14:32:12 +09:00
fn main() {
let _x = 3 //~ ERROR: expected `;`
}