]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0059.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0059.rs
1 #![feature(unboxed_closures)]
2
3 fn foo<F: Fn<i32>>(f: F) -> F::Output { f(3) } //~ ERROR E0059
4
5 fn main() {
6 }