]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/range-4.rs
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.git] / tests / 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 `.`, `;`, `?`, `else`, or an operator, found `..`
6 }