]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/for_loop.rs
Fix suggestions for `REVERSE_RANGE_LOOP`
[rust.git] / tests / compile-fail / for_loop.rs
index d35beb617e05cf0fb0e21e06e47f0104f7387617..411a4b11c17a064a442461c96b694d81fd1f2987 100644 (file)
@@ -169,7 +169,7 @@ fn main() {
     for i in 10...0 {
         //~^ERROR this range is empty so this for loop will never run
         //~|HELP consider
-        //~|SUGGESTION (0..10).rev()
+        //~|SUGGESTION (0...10).rev()
         println!("{}", i);
     }