summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/omitted-arg-in-item-fn.rs
blob: 49cbc4d6bf40f0c091f8ad6a232585e678ef51e0 (plain)
1
2
3
4
fn foo(x) { //~ ERROR expected one of `:`, `@`, or `|`, found `)`
}

fn main() {}