blob: 588e7a0ed339e8d234dc8b1c3cdd640bc2468d0e [file] [log] [blame]
error[E0369]: binary operation `+` cannot be applied to type `()`
--> $DIR/for-loop-type-error.rs:2:16
|
LL | let x = () + ();
| -- ^ -- ()
| |
| ()
|
= 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`.