#![feature(rustdoc_internals)] pub fn my_fn>(_x: X) -> u32 { 3 } pub struct Something; pub mod my { #[doc(search_unbox)] pub trait Iterator {} pub fn other_fn>(_: X) -> u32 { 3 } } pub mod other { #[doc(search_unbox)] pub trait Iterator { type Item; } }