1 error[E0308]: mismatched types
2 --> $DIR/coerce-block-tail.rs:4:23
4 LL | let _: &i32 = & { Box::new(1i32) };
5 | ^^^^^^^^^^^^^^ expected `i32`, found struct `Box`
7 = note: expected type `i32`
8 found struct `Box<i32>`
9 help: consider unboxing the value
11 LL | let _: &i32 = & { *Box::new(1i32) };
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0308`.