]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coercion/coerce-block-tail-83783.stderr
Auto merge of #103831 - chenyukang:yukang/fix-103751-ice, r=nagisa
[rust.git] / src / test / ui / coercion / coerce-block-tail-83783.stderr
1 error[E0308]: mismatched types
2   --> $DIR/coerce-block-tail-83783.rs:7:32
3    |
4 LL |     _consume_reference::<i32>(&async { Box::new(7_i32) }.await);
5    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found struct `Box`
6    |
7    = note: expected type `i32`
8             found struct `Box<i32>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.