Skip to content

Commit

Permalink
tests: remove snippets with inner attrs on non-block expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed May 4, 2021
1 parent f874147 commit 2a3635d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2021-05-01"
channel = "nightly-2021-05-04"
components = ["rustc-dev"]
2 changes: 1 addition & 1 deletion tests/source/match.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ fn match_with_near_max_width() {

fn match_with_trailing_spaces() {
match x {
#![allow(simple_match)]

Some(..) => 0,
None => 1,
}
Expand Down
13 changes: 0 additions & 13 deletions tests/target/issue-3592.rs

This file was deleted.

1 change: 0 additions & 1 deletion tests/target/match.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ fn match_with_near_max_width() {

fn match_with_trailing_spaces() {
match x {
#![allow(simple_match)]
Some(..) => 0,
None => 1,
}
Expand Down

0 comments on commit 2a3635d

Please sign in to comment.