]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-fn-sigil.rs
Auto merge of #57035 - Zoxc:query-pref9, r=michaelwoerister
[rust.git] / src / test / ui / parser / removed-syntax-fn-sigil.rs
1 // compile-flags: -Z parse-only
2
3 fn f() {
4     let x: fn~() = || (); //~ ERROR expected `(`, found `~`
5 }