//! Regression test for https://github.com/rust-lang/rust/issues/14915 fn main() { let x: Box = Box::new(0); println!("{}", x + 1); //~^ ERROR cannot add `{integer}` to `Box` }