]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/never_loop.stderr
`assertions_on_result_states` fix suggestion when `assert!` not in a statement
[rust.git] / tests / ui / never_loop.stderr
index 9fbf3e9ce98003738d922fc0182127700887fc7b..f49b23924efe8b5c52fb807098bf3fd5760c570b 100644 (file)
@@ -79,7 +79,7 @@ LL | |     }
 help: if you need the first element of the iterator, try writing
    |
 LL |     if let Some(x) = (0..10).next() {
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 error: this loop never actually loops
   --> $DIR/never_loop.rs:157:5