1 // revisions: rpass1 rpass2
3 // Regression test for issue #92987
4 // Tests that we properly manage `DepNode`s during trait evaluation
5 // involing an auto-trait cycle.
8 struct CycleOne(Box<CycleTwo>);
12 Variant(Box<CycleTwo>)
15 struct CycleTwo(CycleOne);
17 fn assert_send<T: Send>() {}
20 assert_send::<CycleOne>();
21 assert_send::<CycleTwo>();