summary refs log tree commit diff
path: root/src/test/ui/issue-35668.stderr
blob: 51d6b0402404787a8a30bf4abfdb279f39023774 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0369]: binary operation `*` cannot be applied to type `&T`
  --> $DIR/issue-35668.rs:12: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`.