summary refs log tree commit diff
path: root/src/test/ui/issue-14915.stderr
blob: aa418f5df867aa2515074f26a53fded3bd51fe0c (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0369]: binary operation `+` cannot be applied to type `std::boxed::Box<isize>`
  --> $DIR/issue-14915.rs:16:20
   |
LL |     println!("{}", x + 1);
   |                    ^^^^^
   |
   = note: an implementation of `std::ops::Add` might be missing for `std::boxed::Box<isize>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0369`.