blob: 63e49c292eac705ee1267b86813aeebd11350c27 [file] [log] [blame]
#![feature(box_syntax)]
fn f(_: &mut isize) {}
fn main() {
let mut x: Box<_> = box 3;
f(x) //~ ERROR mismatched types
}