]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/range_inclusive.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / parser / range_inclusive.rs
CommitLineData
54a0048b 1// Make sure that inclusive ranges with no end point don't parse.
c34b1796 2
223e47cc 3pub fn main() {
ea8adc8c 4 for _ in 1..= {} //~ERROR inclusive range with no end
54a0048b 5 //~^HELP bounded at the end
223e47cc 6}