1 #### Note: this error code is no longer emitted by the compiler.
3 An if-let pattern attempts to match the pattern, and enters the body if the
4 match was successful. If the match is irrefutable (when it cannot fail to
5 match), use a regular `let`-binding instead. For instance:
8 struct Irrefutable(i32);
9 let irr = Irrefutable(0);
11 // This fails to compile because the match is irrefutable.
12 if let Irrefutable(x) = irr {
13 // This body will always be executed.
21 struct Irrefutable(i32);
22 let irr = Irrefutable(0);
24 let Irrefutable(x) = irr;