fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
410 B13 linesraw
1error[E0369]: binary operation `*` cannot be applied to type `&T`
2  --> $DIR/issue-35668.rs:2:23
3   |
4LL |     a.iter().map(|a| a*a)
5   |                      -^- &T
6   |                      |
7   |                      &T
8   |
9   = note: an implementation of `std::ops::Mul` might be missing for `&T`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0369`.