]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/range-4.rs
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' 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 }