diff options
| author | Ryan Levick <me@ryanlevick.com> | 2021-06-16 14:27:44 +0200 |
|---|---|---|
| committer | Ryan Levick <me@ryanlevick.com> | 2021-06-25 14:51:56 +0200 |
| commit | 7b3940f44b1f0774f8b43d01786193744fee0079 (patch) | |
| tree | f4054ba67c2a107834f3e523dd561adbc9513274 /src/test/ui/lint/inclusive-range-pattern-syntax.rs | |
| parent | 23176f60e75f7f7b55cb1cc34b667705d1d10032 (diff) | |
| download | rust-7b3940f44b1f0774f8b43d01786193744fee0079.tar.gz rust-7b3940f44b1f0774f8b43d01786193744fee0079.zip | |
Address PR feedback
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 _ => {} } } |
