summary refs log tree commit diff
path: root/src/test/ui/parser/issue-3036.rs
blob: 00b241b9054cd0c554c9664b3b4a184c8f0643e0 (plain)
1
2
3
4
5
6
// Testing that semicolon tokens are printed correctly in errors

fn main()
{
    let x = 3
} //~ ERROR: expected one of `.`, `;`, `?`, or an operator, found `}`