rust/src/test/ui/parser/issue-3036.fixed
2020-07-02 15:18:33 +09:00

7 lines
136 B
Rust

// run-rustfix
// Testing that semicolon tokens are printed correctly in errors
fn main() {
let _x = 3; //~ ERROR: expected `;`
}