summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-32323.rs
blob: 5078f5523c92022ed93411b470727906ae4a0931 (plain)
1
2
3
4
5
6
7
8
pub trait Tr<'a> {
    type Out;
}

pub fn f<'a, T: Tr<'a>>() -> <T as Tr<'a>>::Out {}
//~^ ERROR mismatched types

pub fn main() {}