]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/range_inclusive.stderr
Rollup merge of #73835 - GuillaumeGomez:cleanup-e0710, r=Dylan-DPC
[rust.git] / src / test / ui / parser / range_inclusive.stderr
1 error[E0586]: inclusive range with no end
2   --> $DIR/range_inclusive.rs:5:15
3    |
4 LL |     for _ in 1..= {}
5    |               ^^^ help: use `..` instead
6    |
7    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0586`.