rust/src/test/ui/issues/issue-40610.stderr
2019-12-12 20:56:14 +01:00

14 lines
335 B
Plaintext

error[E0369]: cannot add `()` to `()`
--> $DIR/issue-40610.rs:4:8
|
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`.