]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/inclusive-range-pattern-syntax.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / inclusive-range-pattern-syntax.rs
index d3ebbf38e1cba047dbe89b0c5ff3d5b38d01cb2c..d98c10c26c7cfd96e22e7850bf439bbed5d011b5 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
         _ => {}
     }
 }