rustc/tests/ui/parser/issues/issue-3036.fixed
2023-08-02 11:30:00 +02:00

8 lines
136 B
Plaintext

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