fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
665 B18 linesraw
1error[E0277]: the trait bound `(): _A` is not satisfied
2  --> $DIR/issue-66353.rs:12:14
3   |
4LL |     _Func::< <() as _A>::AssocT >::func(());
5   |              ^^^^^^^^^^^^^^^^^^ the trait `_A` is not implemented for `()`
6
7error[E0277]: the trait bound `(): _Func<_>` is not satisfied
8  --> $DIR/issue-66353.rs:12:41
9   |
10LL |     fn func(_: Self);
11   |     ----------------- required by `_Func::func`
12...
13LL |     _Func::< <() as _A>::AssocT >::func(());
14   |                                         ^^ the trait `_Func<_>` is not implemented for `()`
15
16error: aborting due to 2 previous errors
17
18For more information about this error, try `rustc --explain E0277`.