Auto merge of #5065 - matthiaskrgr:rustup_28, r=matthiaskrgr

rustup https://github.com/rust-lang/rust/pull/67712

slice_patterns have been stabilized.

changelog: none
This commit is contained in:
bors 2020-01-18 22:44:46 +00:00
commit 0a7003ecf0
4 changed files with 1 additions and 4 deletions

View File

@ -3,7 +3,6 @@
#![feature(box_syntax)]
#![feature(box_patterns)]
#![feature(rustc_private)]
#![feature(slice_patterns)]
#![feature(stmt_expr_attributes)]
#![allow(clippy::missing_docs_in_private_items, clippy::must_use_candidate)]
#![recursion_limit = "512"]

View File

@ -1,7 +1,6 @@
// run-rustfix
#![allow(unused)]
#![warn(clippy::all)]
#![feature(slice_patterns)]
fn main() {
let v = Some(true);

View File

@ -1,7 +1,6 @@
// run-rustfix
#![allow(unused)]
#![warn(clippy::all)]
#![feature(slice_patterns)]
fn main() {
let v = Some(true);

View File

@ -1,5 +1,5 @@
error: the `y @ _` pattern can be written as just `y`
--> $DIR/patterns.rs:11:9
--> $DIR/patterns.rs:10:9
|
LL | y @ _ => (),
| ^^^^^ help: try: `y`