1 error[E0391]: cycle detected when computing type of `Foo::X`
2 --> $DIR/cycle-trait-default-type-trait.rs:4:23
4 LL | trait Foo<X = Box<dyn Foo>> {
7 = note: ...which immediately requires computing type of `Foo::X` again
8 note: cycle used when collecting item types in top-level module
9 --> $DIR/cycle-trait-default-type-trait.rs:4:1
11 LL | / trait Foo<X = Box<dyn Foo>> {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0391`.