1 error[E0391]: cycle detected when computing type of `m::Foo::{opaque#0}`
2 --> $DIR/auto-trait-leakage3.rs:7:16
4 LL | type Foo = impl std::fmt::Debug;
7 note: ...which requires type-checking `m::bar`...
8 --> $DIR/auto-trait-leakage3.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/auto-trait-leakage3.rs:6:1
19 error[E0391]: cycle detected when computing type of `m::Foo::{opaque#0}`
20 --> $DIR/auto-trait-leakage3.rs:7:16
22 LL | type Foo = impl std::fmt::Debug;
23 | ^^^^^^^^^^^^^^^^^^^^
25 note: ...which requires type-checking `m::bar`...
26 --> $DIR/auto-trait-leakage3.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/auto-trait-leakage3.rs:6:1
37 error: aborting due to 2 previous errors
39 For more information about this error, try `rustc --explain E0391`.