diff --git a/src/test/ui/issue-45696-no-variant-box-recur.rs b/src/test/ui/issue-45696-no-variant-box-recur.rs index 740e99c82a5..da42e171fcc 100644 --- a/src/test/ui/issue-45696-no-variant-box-recur.rs +++ b/src/test/ui/issue-45696-no-variant-box-recur.rs @@ -39,8 +39,8 @@ struct E { field: F } struct F { field: Box } // indirect non-regular recursion with indirect ownership via box. -struct G { field: (F, F) } -struct H { field: Box } +struct G { field: (H, H) } +struct H { field: Box } // These enums are cases that are not currently hit by the // `visit_terminator_drop` recursion down a type's structural