fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
204 B7 linesraw
1// run-rustfix
2// Make sure that inclusive ranges with no end point don't parse.
3
4pub fn main() {
5    for _ in 1.. {} //~ERROR inclusive range with no end
6                     //~^HELP use `..` instead
7}