summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-3036.rs
blob: 2f76fb99b22068a43503417267e42b9cf7664202 (plain)
1
2
3
4
5
6
7
// run-rustfix

// Testing that semicolon tokens are printed correctly in errors

fn main() {
    let _x = 3 //~ ERROR: expected `;`
}