]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/pat-lt-bracket-6.stderr
slice_patterns: remove gates in tests
[rust.git] / src / test / ui / parser / pat-lt-bracket-6.stderr
index fe9603cb57f1f094905a57f57ec4179dece68ffb..035d0dbfe06d67f459b27bbc5d969a718a93e14d 100644 (file)
@@ -7,22 +7,12 @@ LL |     let Test(&desc[..]) = x;
    |                   expected one of `)`, `,`, `@`, or `|`
    |                   help: missing `,`
 
-error[E0658]: subslice patterns are unstable
-  --> $DIR/pat-lt-bracket-6.rs:5:20
-   |
-LL |     let Test(&desc[..]) = x;
-   |                    ^^
-   |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/62254
-   = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
-
 error[E0308]: mismatched types
-  --> $DIR/pat-lt-bracket-6.rs:10:30
+  --> $DIR/pat-lt-bracket-6.rs:9:30
    |
 LL | const RECOVERY_WITNESS: () = 0;
    |                              ^ expected `()`, found integer
 
-error: aborting due to 3 previous errors
+error: aborting due to 2 previous errors
 
-Some errors have detailed explanations: E0308, E0658.
-For more information about an error, try `rustc --explain E0308`.
+For more information about this error, try `rustc --explain E0308`.