Skip to content

Commit c02c00b

Browse files
committed
Fix bug in test pointed out during review.
1 parent a1b8a93 commit c02c00b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/issue-45696-no-variant-box-recur.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ struct E { field: F }
3939
struct F { field: Box<E> }
4040

4141
// indirect non-regular recursion with indirect ownership via box.
42-
struct G { field: (F, F) }
43-
struct H { field: Box<E> }
42+
struct G { field: (H, H) }
43+
struct H { field: Box<G> }
4444

4545
// These enums are cases that are not currently hit by the
4646
// `visit_terminator_drop` recursion down a type's structural

0 commit comments

Comments
 (0)