summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/issue-20646.rs
blob: 8e16f2de0d97a9b6266538ef0d3e7156183df631 (plain)
1
2
3
4
5
6
7
// compile-flags: -Cmetadata=aux

pub trait Trait {
    type Output;
}

pub fn fun<T>(_: T) where T: Trait<Output=i32> {}