diff options
Diffstat (limited to 'src/test/ui/lint/inclusive-range-pattern-syntax.rs')
| -rw-r--r-- | src/test/ui/lint/inclusive-range-pattern-syntax.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/lint/inclusive-range-pattern-syntax.rs b/src/test/ui/lint/inclusive-range-pattern-syntax.rs index 2d14896d7ec..d98c10c26c7 100644 --- a/src/test/ui/lint/inclusive-range-pattern-syntax.rs +++ b/src/test/ui/lint/inclusive-range-pattern-syntax.rs @@ -8,14 +8,14 @@ fn main() { match despondency { 1...2 => {} //~^ WARN `...` range patterns are deprecated - //~| WARN this is valid in the current edition + //~| WARN this is accepted in the current edition _ => {} } match &despondency { &1...2 => {} //~^ WARN `...` range patterns are deprecated - //~| WARN this is valid in the current edition + //~| WARN this is accepted in the current edition _ => {} } } |
