]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/range-4.rs
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
[rust.git] / src / test / ui / parser / range-4.rs
1 // Test range syntax - syntax errors.
2
3 pub fn main() {
4     let r = ..1..2;
5     //~^ ERROR expected one of `.`, `;`, `?`, or an operator, found `..`
6 }