]> git.lizzy.rs Git - rust.git/blob - tests/ui/coercion/coerce-block-tail-83850.rs
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / coercion / coerce-block-tail-83850.rs
1 // check-fail
2 fn f(_: &[i32]) {}
3
4 fn main() {
5     f(&Box::new([1, 2]));
6     //~^ ERROR mismatched types
7 }