summaryrefslogtreecommitdiffstats
path: root/tests/ui/coercion/coerce-block-tail-83783.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/coercion/coerce-block-tail-83783.stderr4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/coercion/coerce-block-tail-83783.stderr b/tests/ui/coercion/coerce-block-tail-83783.stderr
index d556d013b..da3c38777 100644
--- a/tests/ui/coercion/coerce-block-tail-83783.stderr
+++ b/tests/ui/coercion/coerce-block-tail-83783.stderr
@@ -6,6 +6,10 @@ LL | _consume_reference::<i32>(&async { Box::new(7_i32) }.await);
|
= note: expected type `i32`
found struct `Box<i32>`
+help: consider unboxing the value
+ |
+LL | _consume_reference::<i32>(&*async { Box::new(7_i32) }.await);
+ | +
error: aborting due to previous error