summary refs log tree commit diff
path: root/src/test/ui/parser/range_inclusive.rs
blob: bc61c5b49ea8712526120500c46a67008248e502 (plain)
1
2
3
4
5
6
// Make sure that inclusive ranges with no end point don't parse.

pub fn main() {
    for _ in 1..= {} //~ERROR inclusive range with no end
                     //~^HELP bounded at the end
}