f035d41b |
1 | // run-rustfix |
54a0048b |
2 | // Make sure that inclusive ranges with no end point don't parse. |
c34b1796 |
3 | |
223e47cc |
4 | pub fn main() { |
ea8adc8c |
5 | for _ in 1..= {} //~ERROR inclusive range with no end |
dfeec247 |
6 | //~^HELP use `..` instead |
223e47cc |
7 | } |