rust/tests/rustdoc-js/assoc-type.rs
2023-11-19 18:54:36 -07:00

13 lines
218 B
Rust

pub fn my_fn<X: Iterator<Item = Something>>(_x: X) -> u32 {
3
}
pub struct Something;
pub mod my {
pub trait Iterator<T> {}
pub fn other_fn<X: Iterator<crate::Something>>(_: X) -> u32 {
3
}
}