--bless tests after rebase.
This commit is contained in:
parent
1060513ddc
commit
acc6a6d8cb
@ -11,7 +11,7 @@ LL | [1, tail @ .., tail @ ..] => {},
|
||||
| ^^^^^^^^^
|
||||
|
|
||||
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
|
||||
= help: add #![feature(slice_patterns)] to the crate attributes to enable
|
||||
= help: add `#![feature(slice_patterns)]` to the crate attributes to enable
|
||||
|
||||
error[E0658]: subslice patterns are unstable
|
||||
--> $DIR/match-vec-invalid.rs:4:24
|
||||
@ -20,7 +20,7 @@ LL | [1, tail @ .., tail @ ..] => {},
|
||||
| ^^^^^^^^^
|
||||
|
|
||||
= note: for more information, see https://github.com/rust-lang/rust/issues/62254
|
||||
= help: add #![feature(slice_patterns)] to the crate attributes to enable
|
||||
= help: add `#![feature(slice_patterns)]` to the crate attributes to enable
|
||||
|
||||
error: `..` can only be used once per slice pattern
|
||||
--> $DIR/match-vec-invalid.rs:4:31
|
||||
|
@ -23,7 +23,7 @@ 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
|
||||
= help: add `#![feature(slice_patterns)]` to the crate attributes to enable
|
||||
|
||||
error: aborting due to 4 previous errors
|
||||
|
||||
|
@ -23,7 +23,7 @@ LL | (.. pat) => {}
|
||||
| ^^^^^^
|
||||
|
|
||||
= note: for more information, see https://github.com/rust-lang/rust/issues/37854
|
||||
= help: add #![feature(exclusive_range_pattern)] to the crate attributes to enable
|
||||
= help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
|
||||
|
||||
error[E0029]: only char and numeric types are allowed in range patterns
|
||||
--> $DIR/pat-tuple-4.rs:3:10
|
||||
|
@ -23,7 +23,7 @@ LL | (pat ..) => {}
|
||||
| ^^^^^^
|
||||
|
|
||||
= note: for more information, see https://github.com/rust-lang/rust/issues/37854
|
||||
= help: add #![feature(exclusive_range_pattern)] to the crate attributes to enable
|
||||
= help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
|
||||
|
||||
error[E0029]: only char and numeric types are allowed in range patterns
|
||||
--> $DIR/pat-tuple-5.rs:3:10
|
||||
|
Loading…
x
Reference in New Issue
Block a user