029add206f
Otherwise the tests would fail depending on the execution environment.
13 lines
543 B
Plaintext
13 lines
543 B
Plaintext
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
|
|
|
|
|
LL | fn foo<T>() -> Self::E {
|
|
| ^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/issue-55872-3.rs:16:9: 16:14}`
|
|
LL |
|
|
LL | async {}
|
|
| -------- return type was inferred to be `{async block@$DIR/issue-55872-3.rs:16:9: 16:14}` here
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|