]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
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 | |
3 | | | |
4 | LL | #![feature(specialization)] | |
5 | | ^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `#[warn(incomplete_features)]` on by default | |
8 | = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information | |
9 | ||
74b04a01 | 10 | error[E0391]: cycle detected when building specialization graph of trait `Trait` |
f035d41b | 11 | --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1 |
b7449926 XL |
12 | | |
13 | LL | trait Trait<T> { type Assoc; } | |
14 | | ^^^^^^^^^^^^^^ | |
15 | | | |
74b04a01 | 16 | = note: ...which again requires building specialization graph of trait `Trait`, completing the cycle |
b7449926 | 17 | note: cycle used when coherence checking all impls of trait `Trait` |
f035d41b | 18 | --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1 |
b7449926 XL |
19 | | |
20 | LL | trait Trait<T> { type Assoc; } | |
21 | | ^^^^^^^^^^^^^^ | |
22 | ||
f035d41b | 23 | error: aborting due to previous error; 1 warning emitted |
b7449926 XL |
24 | |
25 | For more information about this error, try `rustc --explain E0391`. |