]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/range_inclusive.stderr
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[rust.git] / src / test / ui / parser / range_inclusive.stderr
index 12b7edae79f52918cf1f4b326fd6028837e00b74..8a91782639f450f90053886c4ebc629481f7b8dc 100644 (file)
@@ -1,10 +1,10 @@
 error[E0586]: inclusive range with no end
-  --> $DIR/range_inclusive.rs:4:19
+  --> $DIR/range_inclusive.rs:5:15
    |
 LL |     for _ in 1..= {}
-   |                   ^
+   |               ^^^ help: use `..` instead
    |
-   = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
+   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
 
 error: aborting due to previous error