mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
Fix bug in test pointed out during review.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user