]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/range_inclusive.rs
Auto merge of #51285 - Mark-Simulacrum:remove-quote_apis, r=Manishearth
[rust.git] / src / test / ui / parser / range_inclusive.rs
1 // Make sure that inclusive ranges with no end point don't parse.
2
3 pub fn main() {
4     for _ in 1..= {} //~ERROR inclusive range with no end
5                      //~^HELP bounded at the end
6 }