1 error[E0005]: refutable pattern in local binding: `i32::MIN..=-1_i32` and `3_i32..=i32::MAX` not covered
2 --> $DIR/issue-69875-should-have-been-expanded-earlier-non-exhaustive.rs:2:10
4 LL | let (0 | (1 | 2)) = 0;
5 | ^^^^^^^^^^^ patterns `i32::MIN..=-1_i32` and `3_i32..=i32::MAX` not covered
7 = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
8 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
9 = note: the matched value is of type `i32`
10 help: you might want to use `if let` to ignore the variant that isn't matched
12 LL | if let (0 | (1 | 2)) = 0 { /* */ }
13 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 error[E0004]: non-exhaustive patterns: `i32::MIN..=-1_i32` and `3_i32..=i32::MAX` not covered
16 --> $DIR/issue-69875-should-have-been-expanded-earlier-non-exhaustive.rs:3:11
19 | ^ patterns `i32::MIN..=-1_i32` and `3_i32..=i32::MAX` not covered
21 = note: the matched value is of type `i32`
22 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
24 LL ~ 0 | (1 | 2) => {}
25 LL + i32::MIN..=-1_i32 | 3_i32..=i32::MAX => todo!()
28 error: aborting due to 2 previous errors
30 Some errors have detailed explanations: E0004, E0005.
31 For more information about an error, try `rustc --explain E0004`.