rustc/tests/ui/parser/issues/issue-3036.fixed
2024-06-21 09:39:33 +02:00

8 lines
137 B
Plaintext

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