]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/lint/inclusive-range-pattern-syntax.fixed
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / lint / inclusive-range-pattern-syntax.fixed
index a1b738e33fa9bdfd50bae3ae63d46fb97b5dba9c..bee5d4ae4b1b330553f1857d936b8e14ea112639 100644 (file)
@@ -8,14 +8,14 @@ fn main() {
     match despondency {
         1..=2 => {}
         //~^ WARN `...` range patterns are deprecated
-        //~| WARN this was previously accepted by the compiler
+        //~| WARN this is accepted in the current edition
         _ => {}
     }
 
     match &despondency {
         &(1..=2) => {}
         //~^ WARN `...` range patterns are deprecated
-        //~| WARN this was previously accepted by the compiler
+        //~| WARN this is accepted in the current edition
         _ => {}
     }
 }