Skip to content

Commit

Permalink
Fix bug in test pointed out during review.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Aug 1, 2018
1 parent a1b8a93 commit c02c00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/issue-45696-no-variant-box-recur.rs
Expand Up @@ -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
Expand Down

0 comments on commit c02c00b

Please sign in to comment.