rust/src/test/ui/issues/issue-35668.stderr
2018-12-25 21:08:33 -07:00

12 lines
350 B
Plaintext

error[E0369]: binary operation `*` cannot be applied to type `&T`
--> $DIR/issue-35668.rs:2:22
|
LL | a.iter().map(|a| a*a)
| ^^^
|
= 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`.