diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-07-31 01:10:06 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-08-01 17:44:53 +0200 |
| commit | c02c00b8455d6ec6eff50ae94bebb4a424c95e02 (patch) | |
| tree | 63ca46aa777a88e7a36d2ca3238c61ef71dcb32b | |
| parent | a1b8a93f81f4da89eaaa75f27df395f46c17c470 (diff) | |
| download | rust-c02c00b8455d6ec6eff50ae94bebb4a424c95e02.tar.gz rust-c02c00b8455d6ec6eff50ae94bebb4a424c95e02.zip | |
Fix bug in test pointed out during review.
| -rw-r--r-- | src/test/ui/issue-45696-no-variant-box-recur.rs | 4 |
1 files 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<E> } // indirect non-regular recursion with indirect ownership via box. -struct G { field: (F, F) } -struct H { field: Box<E> } +struct G { field: (H, H) } +struct H { field: Box<G> } // These enums are cases that are not currently hit by the // `visit_terminator_drop` recursion down a type's structural |
