about summary refs log tree commit diff
path: root/tests/ui/parser/issues/missing-main-issue-124935-semi-after-item.rs
blob: a8a608c191a85939eb96f04f4d9a7214c0df4eb0 (plain)
1
2
3
4
5
6
// Regression test for issue #124935
// Tests that we still emit an error after an item.

fn main() { }
;
//~^ ERROR expected item, found `;`