rust/src/test/ui/issues/issue-14915.rs
LeSeulArtichaut eac6fac10b Update tests
2019-12-12 20:56:14 +01:00

9 lines
164 B
Rust

#![feature(box_syntax)]
fn main() {
let x: Box<isize> = box 0;
println!("{}", x + 1);
//~^ ERROR cannot add `{integer}` to `std::boxed::Box<isize>`
}