]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/range/range-inclusive-pattern-precedence.fixed
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / range / range-inclusive-pattern-precedence.fixed
index 6c01209967605fbc1117a545047c60919c5832fd..8a4b8fc38e37a5c6df74149648a03d4f54ec4edb 100644 (file)
@@ -10,7 +10,7 @@ pub fn main() {
     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