Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 179 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
trait Trait {
type Output;
}
fn f<T: Trait>() {
std::mem::size_of::<T::Output>();
}
fn main() {}
You can’t perform that action at this time.