fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
474 B13 linesraw
1error[E0369]: binary operation `+` cannot be applied to type `std::boxed::Box<isize>`
2  --> $DIR/issue-14915.rs:6:22
3   |
4LL |     println!("{}", x + 1);
5   |                    - ^ - {integer}
6   |                    |
7   |                    std::boxed::Box<isize>
8   |
9   = note: an implementation of `std::ops::Add` might be missing for `std::boxed::Box<isize>`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0369`.