1 #### Note: this error code is no longer emitted by the compiler.
3 Patterns used to bind names must be irrefutable. That is, they must guarantee
4 that a name will be extracted in all cases. Instead of pattern matching the
5 loop variable, consider using a `match` or `if let` inside the loop body. For
9 let xs : Vec<Option<i32>> = vec![Some(1), None];
11 // This fails because `None` is not covered.
17 Match inside the loop instead:
20 let xs : Vec<Option<i32>> = vec![Some(1), None];
33 let xs : Vec<Option<i32>> = vec![Some(1), None];
36 if let Some(x) = item {