rust/tests/ui/parser/issues/issue-3036.rs
2023-01-11 09:32:08 +00:00

8 lines
135 B
Rust

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