1 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:6:12
4 LL | #![feature(specialization)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
10 error[E0391]: cycle detected when building specialization graph of trait `Trait`
11 --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
13 LL | trait Trait<T> { type Assoc; }
16 = note: ...which again requires building specialization graph of trait `Trait`, completing the cycle
17 note: cycle used when coherence checking all impls of trait `Trait`
18 --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
20 LL | trait Trait<T> { type Assoc; }
23 error: aborting due to previous error; 1 warning emitted
25 For more information about this error, try `rustc --explain E0391`.