summary refs log tree commit diff
path: root/src/test/ui/issues/issue-43357.rs
blob: 6b8e7de85093efeb2197cb347d23db8c1172a6fd (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-pass
#![allow(dead_code)]
trait Trait {
    type Output;
}

fn f<T: Trait>() {
    std::mem::size_of::<T::Output>();
}

fn main() {}