2024-09-24 18:18:01 -07:00
|
|
|
#![feature(rustdoc_internals)]
|
|
|
|
|
|
|
|
|
|
pub fn my_fn<X: other::Iterator<Item = Something>>(_x: X) -> u32 {
|
2023-09-22 17:27:06 -07:00
|
|
|
3
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub struct Something;
|
|
|
|
|
|
|
|
|
|
pub mod my {
|
2024-09-24 18:18:01 -07:00
|
|
|
#[doc(search_unbox)]
|
2023-09-22 17:27:06 -07:00
|
|
|
pub trait Iterator<T> {}
|
|
|
|
|
pub fn other_fn<X: Iterator<crate::Something>>(_: X) -> u32 {
|
|
|
|
|
3
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-24 18:18:01 -07:00
|
|
|
|
|
|
|
|
pub mod other {
|
|
|
|
|
#[doc(search_unbox)]
|
|
|
|
|
pub trait Iterator {
|
|
|
|
|
type Item;
|
|
|
|
|
}
|
|
|
|
|
}
|