Skip to content

Commit

Permalink
tests: don't strip empty tuple exprs in blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Jan 7, 2021
1 parent 251a3a9 commit 94f17f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/target/issue_3868.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ fn bar() {
for _ in 0..1 {}
}

fn baz() {}
fn baz() {
();
}

0 comments on commit 94f17f8

Please sign in to comment.