]>
Commit | Line | Data |
---|---|---|
e74abb32 XL |
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 | | | |
e74abb32 XL |
10 | LL | _Func::< <() as _A>::AssocT >::func(()); |
11 | | ^^ the trait `_Func<_>` is not implemented for `()` | |
136023e0 XL |
12 | | |
13 | note: required by `_Func::func` | |
14 | --> $DIR/issue-66353.rs:4:5 | |
15 | | | |
16 | LL | fn func(_: Self); | |
17 | | ^^^^^^^^^^^^^^^^^ | |
e74abb32 XL |
18 | |
19 | error: aborting due to 2 previous errors | |
20 | ||
21 | For more information about this error, try `rustc --explain E0277`. |