summary refs log tree commit diff
path: root/src/test/ui/vec/vec-res-add.stderr
blob: 78b70f09e900544b549be56605fb7ae3b8df5714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0369]: binary operation `+` cannot be applied to type `std::vec::Vec<R>`
  --> $DIR/vec-res-add.rs:16:15
   |
LL |     let k = i + j;
   |             - ^ - std::vec::Vec<R>
   |             |
   |             std::vec::Vec<R>
   |
   = note: an implementation of `std::ops::Add` might be missing for `std::vec::Vec<R>`

error: aborting due to previous error

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