]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-66353.stderr
Rollup merge of #87307 - michaelwoerister:pgo-unwind-msvc, r=nagisa
[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 note: required by `_Func::func`
14   --> $DIR/issue-66353.rs:4:5
15    |
16 LL |     fn func(_: Self);
17    |     ^^^^^^^^^^^^^^^^^
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0277`.