//@ run-pass #![allow(dead_code)] // Regression test for issue #22655: This test should not lead to // infinite recursion. //@ pretty-expanded FIXME #23616 unsafe impl Send for Unique { } pub struct Unique { pointer: *const T, } pub struct Node { vals: V, edges: Unique>, } fn is_send() {} fn main() { is_send::>(); }