]>
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 | | | |
f035d41b | 7 | = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information |
29967ef6 | 8 | = help: consider using `min_specialization` instead, which is more stable and complete |
2b03887a | 9 | = note: `#[warn(incomplete_features)]` on by default |
f035d41b | 10 | |
74b04a01 | 11 | error[E0391]: cycle detected when building specialization graph of trait `Trait` |
f035d41b | 12 | --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1 |
b7449926 XL |
13 | | |
14 | LL | trait Trait<T> { type Assoc; } | |
15 | | ^^^^^^^^^^^^^^ | |
16 | | | |
94222f64 | 17 | = note: ...which immediately requires building specialization graph of trait `Trait` again |
b7449926 | 18 | note: cycle used when coherence checking all impls of trait `Trait` |
f035d41b | 19 | --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1 |
b7449926 XL |
20 | | |
21 | LL | trait Trait<T> { type Assoc; } | |
22 | | ^^^^^^^^^^^^^^ | |
add651ee | 23 | = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information |
b7449926 | 24 | |
f035d41b | 25 | error: aborting due to previous error; 1 warning emitted |
b7449926 XL |
26 | |
27 | For more information about this error, try `rustc --explain E0391`. |