]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-35668.stderr
Auto merge of #52962 - GuillaumeGomez:few-things, r=QuietMisdreavus
[rust.git] / src / test / ui / issues / issue-35668.stderr
1 error[E0369]: binary operation `*` cannot be applied to type `&T`
2   --> $DIR/issue-35668.rs:12:22
3    |
4 LL |     a.iter().map(|a| a*a)
5    |                      ^^^
6    |
7    = note: an implementation of `std::ops::Mul` might be missing for `&T`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0369`.