blob: 02e1048e5a330d72239dc492ece4e140a90bae7c [file]
#![allow(warnings)]
//@ ignore-parallel-frontend query cycle
trait Trait<T> {
fn foo(_: T) {}
}
pub struct Foo<T = Box<dyn Trait<DefaultFoo>>>;
//~^ ERROR cycle detected when computing type of `Foo::T`
type DefaultFoo = Foo;
fn main() {
}