]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs
Auto merge of #78682 - glandium:issue78471, r=lcnr
[rust.git] / src / test / ui / pattern / usefulness / refutable-pattern-in-fn-arg.rs
1 fn main() {
2     let f = |3: isize| println!("hello");
3     //~^ ERROR refutable pattern in function argument: `_` not covered
4     f(4);
5 }