parent
f5e513b2b2
commit
34407dcdbb
7 changed files with 502 additions and 552 deletions
|
@ -9,6 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
fn main() {
|
||||
let f = |3: int| println!("hello"); //~ ERROR refutable pattern
|
||||
let f = |3: int| println!("hello");
|
||||
//~^ ERROR refutable pattern in function argument: _ not covered
|
||||
f(4);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue