1 error[E0308]: mismatched types
2 --> $DIR/coerce-block-tail-83850.rs:5:7
4 LL | f(&Box::new([1, 2]));
5 | - ^^^^^^^^^^^^^^^^^ expected slice `[i32]`, found struct `Box`
7 | arguments to this function are incorrect
9 = note: expected reference `&[i32]`
10 found reference `&Box<[{integer}; 2]>`
11 note: function defined here
12 --> $DIR/coerce-block-tail-83850.rs:2:4
14 LL | fn f(_: &[i32]) {}
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0308`.