summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/assoc-type.rs
blob: e12e73cb546dfe50cf0422b304f385740c331584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
    }
}