Skip to content

Commit

Permalink
Add test of second-level break confusable
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 1, 2025
1 parent 9dd90b7 commit 03023ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ fn test_fixup() {
quote! { if let _ = ((break) - 1 || true) {} },
quote! { if let _ = (break + 1 || true) {} },
quote! { if (break break) {} },
quote! { if break break {} {} },
quote! { if (return ..) {} },
quote! { if (|| Struct {}) {} },
quote! { if (|| Struct {}.await) {} },
Expand Down

0 comments on commit 03023ff

Please sign in to comment.