]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issue-55872-3.stderr
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / impl-trait / issue-55872-3.stderr
1 error[E0277]: the trait bound `[async block@$DIR/issue-55872-3.rs:16:9: 16:17]: Copy` is not satisfied
2   --> $DIR/issue-55872-3.rs:14:20
3    |
4 LL |     fn foo<T>() -> Self::E {
5    |                    ^^^^^^^ the trait `Copy` is not implemented for `[async block@$DIR/issue-55872-3.rs:16:9: 16:17]`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0277`.