]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/match-vec-invalid.rs
slice_patterns: remove gates in tests
[rust.git] / src / test / ui / parser / match-vec-invalid.rs
index 00f4374b256d20a115f312bb480cdc6ea5a773d7..97e33624bf6deb4c8a3eab08b0b5e1122764eb01 100644 (file)
@@ -3,8 +3,6 @@ fn main() {
     match a {
         [1, tail @ .., tail @ ..] => {},
         //~^ ERROR identifier `tail` is bound more than once in the same pattern
-        //~| ERROR subslice patterns are unstable
-        //~| ERROR subslice patterns are unstable
         //~| ERROR `..` can only be used once per slice pattern
         _ => ()
     }