rust/src/test/ui/issues/issue-35668.stderr

14 lines
410 B
Plaintext
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0369]: binary operation `*` cannot be applied to type `&T`
--> $DIR/issue-35668.rs:2:23
2018-07-15 14:11:54 -07:00
|
LL | a.iter().map(|a| a*a)
| -^- &T
| |
| &T
2018-07-15 14:11:54 -07:00
|
= note: an implementation of `std::ops::Mul` might be missing for `&T`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0369`.