fork/rust

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

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

master
865 B21 linesraw
1error[E0658]: associated const equality is incomplete
2  --> $DIR/dont-ice-on-assoc-projection.rs:15:32
3   |
4LL | impl<T> Foo for T where T: Bar<ASSOC = 0> {}
5   |                                ^^^^^^^^^
6   |
7   = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
8   = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
9
10error[E0119]: conflicting implementations of trait `Foo` for type `()`
11  --> $DIR/dont-ice-on-assoc-projection.rs:15:1
12   |
13LL | impl Foo for () {}
14   | --------------- first implementation here
15LL | impl<T> Foo for T where T: Bar<ASSOC = 0> {}
16   | ^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
17
18error: aborting due to 2 previous errors
19
20Some errors have detailed explanations: E0119, E0658.
21For more information about an error, try `rustc --explain E0119`.