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