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