blob: 4d091f3a962c64d4d23caf93ca966daa84879043 [file] [log] [blame]
//@ check-pass
// Check that associated types are `Sized`
trait Trait {
type Output;
fn is_sized(&self) -> Self::Output;
fn wasnt_sized(&self) -> Self::Output { loop {} }
}
fn main() {}