diff options
Diffstat (limited to 'src/test/ui/range/exclusive-range-patterns-2021.rs')
-rw-r--r-- | src/test/ui/range/exclusive-range-patterns-2021.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/range/exclusive-range-patterns-2021.rs b/src/test/ui/range/exclusive-range-patterns-2021.rs deleted file mode 100644 index de69c9bf2..000000000 --- a/src/test/ui/range/exclusive-range-patterns-2021.rs +++ /dev/null @@ -1,14 +0,0 @@ -// edition:2021 - -fn main() { - let n = 2; - match n { - 0...3 => {} - //~^ ERROR `...` range patterns are deprecated - 4...10 => {} - //~^ ERROR `...` range patterns are deprecated - (11...100) => {} - //~^ ERROR `...` range patterns are deprecated - _ => {} - } -} |