1
Fork 0

slice_patterns: remove gates in tests

This commit is contained in:
Mazdak Farrokhzad 2019-12-30 01:23:42 +01:00
parent 3e3cac010b
commit a1eadca88f
116 changed files with 349 additions and 490 deletions

View file

@ -1,5 +1,3 @@
#![feature(slice_patterns)]
pub fn main() {
let sl: &[u8] = b"foo";

View file

@ -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