mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
tests: remove snippets with inner attrs on non-block expressions
This commit is contained in:
parent
f87414729f
commit
2a3635d5d1
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2021-05-01"
|
||||
channel = "nightly-2021-05-04"
|
||||
components = ["rustc-dev"]
|
||||
|
@ -410,7 +410,7 @@ fn match_with_near_max_width() {
|
||||
|
||||
fn match_with_trailing_spaces() {
|
||||
match x {
|
||||
#![allow(simple_match)]
|
||||
|
||||
Some(..) => 0,
|
||||
None => 1,
|
||||
}
|
||||
|
@ -1,13 +0,0 @@
|
||||
fn r() -> (Biz, ()) {
|
||||
(
|
||||
Biz {
|
||||
#![cfg(unix)]
|
||||
field: 9
|
||||
},
|
||||
Biz {
|
||||
#![cfg(not(unix))]
|
||||
field: 200
|
||||
},
|
||||
(),
|
||||
)
|
||||
}
|
@ -441,7 +441,6 @@ fn match_with_near_max_width() {
|
||||
|
||||
fn match_with_trailing_spaces() {
|
||||
match x {
|
||||
#![allow(simple_match)]
|
||||
Some(..) => 0,
|
||||
None => 1,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user