slice_patterns: remove gates in tests
This commit is contained in:
parent
3e3cac010b
commit
a1eadca88f
116 changed files with 349 additions and 490 deletions
|
@ -1,5 +1,3 @@
|
|||
#![feature(slice_patterns)]
|
||||
|
||||
pub fn main() {
|
||||
let sl: &[u8] = b"foo";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error[E0004]: non-exhaustive patterns: `&[]` not covered
|
||||
--> $DIR/slice.rs:6:11
|
||||
--> $DIR/slice.rs:4:11
|
||||
|
|
||||
LL | match sl {
|
||||
| ^^ pattern `&[]` not covered
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue