1 error[E0391]: cycle detected when computing type of `m::Foo::{opaque#0}`
2 --> $DIR/inference-cycle.rs:5:16
4 LL | type Foo = impl std::fmt::Debug;
7 note: ...which requires type-checking `m::bar`...
8 --> $DIR/inference-cycle.rs:15:5
12 = note: ...which again requires computing type of `m::Foo::{opaque#0}`, completing the cycle
13 note: cycle used when checking item types in module `m`
14 --> $DIR/inference-cycle.rs:4:1
19 error[E0391]: cycle detected when computing type of `m::Foo::{opaque#0}`
20 --> $DIR/inference-cycle.rs:5:16
22 LL | type Foo = impl std::fmt::Debug;
23 | ^^^^^^^^^^^^^^^^^^^^
25 note: ...which requires type-checking `m::bar`...
26 --> $DIR/inference-cycle.rs:15:5
30 = note: ...which again requires computing type of `m::Foo::{opaque#0}`, completing the cycle
31 note: cycle used when checking item types in module `m`
32 --> $DIR/inference-cycle.rs:4:1
37 error: aborting due to 2 previous errors
39 For more information about this error, try `rustc --explain E0391`.