Skip to content

Commit

Permalink
Add test of deeply nested prefix ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 1, 2025
1 parent bd02f07 commit b2fa210
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 @@ -830,6 +830,7 @@ fn test_fixup() {
quote! { (self.f)() },
quote! { (return)..=return },
quote! { 1 + (return)..=1 + return },
quote! { .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. },
] {
let original: Expr = syn::parse2(tokens).unwrap();

Expand Down

0 comments on commit b2fa210

Please sign in to comment.