match &12 {
&(0..=9) => {}
//~^ WARN `...` range patterns are deprecated
- //~| WARN this was previously accepted by the compiler
+ //~| WARN this is accepted in the current edition
//~| HELP use `..=` for an inclusive range
&(10 ..=15) => {}
//~^ ERROR the range pattern here has ambiguous interpretation