fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
363 B13 linesraw
1error[E0369]: binary operation `+` cannot be applied to type `()`
2  --> $DIR/issue-40610.rs:4:8
3   |
4LL |     () + f(&[1.0]);
5   |     -- ^ --------- ()
6   |     |
7   |     ()
8   |
9   = note: an implementation of `std::ops::Add` might be missing for `()`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0369`.