summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-fn-sigil.rs
blob: 725843429c0034bede969c9049e49f6be3f99864 (plain)
1
2
3
fn main() {
    let x: fn~() = || (); //~ ERROR expected `(`, found `~`
}