blob: 294533f0cbb75c094e118913706281ad9237ab7b [file] [log] [blame]
#![feature(box_syntax)]
fn main() {
let x: Box<isize> = box 0;
println!("{}", x + 1);
//~^ ERROR binary operation `+` cannot be applied to type `std::boxed::Box<isize>`
}