Skip to content

Commit 0e07372

Browse files
committed
Add binary operator attribute bailout test
1 parent ca8d876 commit 0e07372

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ fn test_fixup() {
834834
quote! { #[attr] (x = 1) },
835835
quote! { #[attr] (x += 1) },
836836
quote! { #[attr] (1 as T) },
837+
quote! { (return #[attr] (x + ..)).field },
837838
quote! { (self.f)() },
838839
quote! { (return)..=return },
839840
quote! { 1 + (return)..=1 + return },

0 commit comments

Comments
 (0)