From c02c00b8455d6ec6eff50ae94bebb4a424c95e02 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Tue, 31 Jul 2018 01:10:06 +0200 Subject: [PATCH] Fix bug in test pointed out during review. --- src/test/ui/issue-45696-no-variant-box-recur.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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