]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/range_inclusive.stderr
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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`.