]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-fn-sigil.rs
Rollup merge of #57278 - mati865:config_clippy, r=alexcrichton
[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 }