1 error[E0005]: refutable pattern in local binding: `i32::MIN..=1_i32` and `3_i32..=i32::MAX` not covered
2 --> $DIR/const-pat-non-exaustive-let-new-var.rs:2:9
7 | interpreted as a constant pattern, not a new variable
8 | help: introduce a variable instead: `a_var`
10 LL | const A: i32 = 2;
11 | ----------------- constant defined here
13 = note: the matched value is of type `i32`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0005`.