]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issue-55872-3.stderr
Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung
[rust.git] / src / test / ui / impl-trait / issue-55872-3.stderr
1 error[E0277]: the trait bound `impl Future<Output = ()>: 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 `impl Future<Output = ()>`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0277`.