summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/normalize-assoc-item.rs
blob: fbd111c3035662e7894695b022c135bab7c30a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_name = "inner"]
pub trait MyTrait {
    type Y;
}

impl MyTrait for u32 {
    type Y = i32;
}

pub fn foo() -> <u32 as MyTrait>::Y {
    0
}