blob: 8ab2e2797f1a76a2f823cb07151870723319acc9 [file] [log] [blame]
// check-pass
// This didn't work in the previous default RPITIT method hack attempt
trait Foo {
fn bar(x: bool) -> impl Sized {
if x {
let _: u32 = Self::bar(!x);
}
Default::default()
}
}
fn main() {}