2024-11-06 18:50:24 +01:00
|
|
|
error[E0277]: the trait bound `{async block@$DIR/issue-55872-3.rs:16:9: 16:14}: Copy` is not satisfied
|
|
|
|
|
--> $DIR/issue-55872-3.rs:14:20
|
2022-02-14 16:10:22 +00:00
|
|
|
|
|
2022-05-27 19:31:10 +00:00
|
|
|
LL | fn foo<T>() -> Self::E {
|
2024-11-06 18:50:24 +01:00
|
|
|
| ^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/issue-55872-3.rs:16:9: 16:14}`
|
2024-10-25 04:38:48 +00:00
|
|
|
LL |
|
|
|
|
|
LL | async {}
|
2024-11-06 18:50:24 +01:00
|
|
|
| -------- return type was inferred to be `{async block@$DIR/issue-55872-3.rs:16:9: 16:14}` here
|
2022-02-14 16:10:22 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-02-14 16:10:22 +00:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|