]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-66353.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-66353.stderr
1 error[E0277]: the trait bound `(): _A` is not satisfied
2   --> $DIR/issue-66353.rs:12:14
3    |
4 LL |     _Func::< <() as _A>::AssocT >::func(());
5    |              ^^^^^^^^^^^^^^^^^^ the trait `_A` is not implemented for `()`
6
7 error[E0277]: the trait bound `(): _Func<_>` is not satisfied
8   --> $DIR/issue-66353.rs:12:41
9    |
10 LL |     _Func::< <() as _A>::AssocT >::func(());
11    |     ----------------------------------- ^^ the trait `_Func<_>` is not implemented for `()`
12    |     |
13    |     required by a bound introduced by this call
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0277`.