rust/src/test/ui/refutable-pattern-in-fn-arg.stderr

10 lines
321 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0005]: refutable pattern in function argument: `_` not covered
2018-12-25 09:56:47 -06:00
--> $DIR/refutable-pattern-in-fn-arg.rs:2:14
2018-08-08 07:28:26 -05:00
|
LL | let f = |3: isize| println!("hello");
| ^ pattern `_` not covered
error: aborting due to previous error
For more information about this error, try `rustc --explain E0005`.