#![feature(rustdoc_internals)] #[doc(search_unbox)] pub struct Out { a: A, b: B, } #[doc(search_unbox)] pub struct Out1 { a: [A; N], } #[doc(search_unbox)] pub struct Out2 { a: [A; N], } #[doc(search_unbox)] pub struct Out3 { a: A, b: B, } #[doc(search_unbox)] pub struct Out4 { a: A, b: B, } #[doc(search_unbox)] pub struct Inside(T); pub fn alpha(_: Inside) -> Out, Out2> { loop {} } pub fn beta(_: Inside) -> Out, Out4> { loop {} } pub fn gamma(_: Inside) -> Out, Out4> { loop {} }