2019-09-28 02:30:48 +02:00
|
|
|
fn main() {
|
|
|
|
let A = 3;
|
2022-12-23 21:02:23 +01:00
|
|
|
//~^ ERROR refutable pattern in local binding
|
|
|
|
//~| patterns `i32::MIN..=1_i32` and `3_i32..=i32::MAX` not covered
|
2023-02-27 17:43:39 +00:00
|
|
|
//~| HELP you might want to use `if let` to ignore the variants that aren't matched
|
2019-09-28 02:30:48 +02:00
|
|
|
|
|
|
|
const A: i32 = 2;
|
|
|
|
}
|