tests: remove snippets with inner attrs on non-block expressions

This commit is contained in:
Caleb Cartwright 2021-05-04 18:06:53 -05:00 committed by Caleb Cartwright
parent f87414729f
commit 2a3635d5d1
4 changed files with 2 additions and 16 deletions

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2021-05-01"
channel = "nightly-2021-05-04"
components = ["rustc-dev"]

View File

@ -410,7 +410,7 @@ fn match_with_near_max_width() {
fn match_with_trailing_spaces() {
match x {
#![allow(simple_match)]
Some(..) => 0,
None => 1,
}

View File

@ -1,13 +0,0 @@
fn r() -> (Biz, ()) {
(
Biz {
#![cfg(unix)]
field: 9
},
Biz {
#![cfg(not(unix))]
field: 200
},
(),
)
}

View File

@ -441,7 +441,6 @@ fn match_with_near_max_width() {
fn match_with_trailing_spaces() {
match x {
#![allow(simple_match)]
Some(..) => 0,
None => 1,
}