fork/rust

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

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

master
904 B29 linesraw
1error[E0277]: the trait bound `(): _A` is not satisfied
2  --> $DIR/issue-66353.rs:12:15
3   |
4LL |     _Func::< <() as _A>::AssocT >::func(());
5   |               ^^ the trait `_A` is not implemented for `()`
6   |
7help: this trait has no implementations, consider adding one
8  --> $DIR/issue-66353.rs:7:1
9   |
10LL | trait _A {
11   | ^^^^^^^^
12
13error[E0277]: the trait bound `(): _Func<_>` is not satisfied
14  --> $DIR/issue-66353.rs:12:41
15   |
16LL |     _Func::< <() as _A>::AssocT >::func(());
17   |     ----------------------------------- ^^ the trait `_Func<_>` is not implemented for `()`
18   |     |
19   |     required by a bound introduced by this call
20   |
21help: this trait has no implementations, consider adding one
22  --> $DIR/issue-66353.rs:3:1
23   |
24LL | trait _Func<T> {
25   | ^^^^^^^^^^^^^^
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0277`.