rust/tests/ui/issues/issue-43357.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
143 B
Rust
Raw Normal View History

//@ check-pass
#![allow(dead_code)]
trait Trait {
type Output;
}
fn f<T: Trait>() {
std::mem::size_of::<T::Output>();
}
fn main() {}