summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-3036.fixed
blob: e5d5622e6fc00395bcde854b36ad0bb91f2da2a9 (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 `;`
}