]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/range_inclusive.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / range_inclusive.rs
CommitLineData
f035d41b 1// run-rustfix
54a0048b 2// Make sure that inclusive ranges with no end point don't parse.
c34b1796 3
223e47cc 4pub fn main() {
ea8adc8c 5 for _ in 1..= {} //~ERROR inclusive range with no end
dfeec247 6 //~^HELP use `..` instead
223e47cc 7}