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

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