diff options
Diffstat (limited to 'tests/ui/impl-trait/issue-55872-3.stderr')
-rw-r--r-- | tests/ui/impl-trait/issue-55872-3.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-55872-3.stderr b/tests/ui/impl-trait/issue-55872-3.stderr new file mode 100644 index 000000000..c6e10f0f3 --- /dev/null +++ b/tests/ui/impl-trait/issue-55872-3.stderr @@ -0,0 +1,9 @@ +error[E0277]: the trait bound `[async block@$DIR/issue-55872-3.rs:16:9: 16:17]: 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:17]` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0277`. |