fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB27 linesraw
1warning: 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   |
4LL | #![feature(specialization)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8   = help: consider using `min_specialization` instead, which is more stable and complete
9   = note: `#[warn(incomplete_features)]` on by default
10
11error[E0391]: cycle detected when building specialization graph of trait `Trait`
12  --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
13   |
14LL | trait Trait<T> { type Assoc; }
15   | ^^^^^^^^^^^^^^
16   |
17   = note: ...which immediately requires building specialization graph of trait `Trait` again
18note: cycle used when coherence checking all impls of trait `Trait`
19  --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
20   |
21LL | trait Trait<T> { type Assoc; }
22   | ^^^^^^^^^^^^^^
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
24
25error: aborting due to previous error; 1 warning emitted
26
27For more information about this error, try `rustc --explain E0391`.