Skip to content

Commit 2a3635d

Browse files
tests: remove snippets with inner attrs on non-block expressions
1 parent f874147 commit 2a3635d

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

Diff for: rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2021-05-01"
2+
channel = "nightly-2021-05-04"
33
components = ["rustc-dev"]

Diff for: tests/source/match.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ fn match_with_near_max_width() {
410410

411411
fn match_with_trailing_spaces() {
412412
match x {
413-
#![allow(simple_match)]
413+
414414
Some(..) => 0,
415415
None => 1,
416416
}

Diff for: tests/target/issue-3592.rs

-13
This file was deleted.

Diff for: tests/target/match.rs

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ fn match_with_near_max_width() {
441441

442442
fn match_with_trailing_spaces() {
443443
match x {
444-
#![allow(simple_match)]
445444
Some(..) => 0,
446445
None => 1,
447446
}

0 commit comments

Comments
 (0)