]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/range-3.rs
Rollup merge of #72209 - Nemo157:lint-no-mangle-in-unsafe-code, r=nikomatsakis
[rust.git] / src / test / ui / parser / range-3.rs
1 // Test range syntax - syntax errors.
2
3 pub fn main() {
4     let r = 1..2..3;
5     //~^ ERROR expected one of `.`, `;`, `?`, or an operator, found `..`
6 }