]> git.lizzy.rs Git - rust.git/blob - src/test/ui/for/for-loop-type-error.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / for / for-loop-type-error.stderr
1 error[E0369]: binary operation `+` cannot be applied to type `()`
2   --> $DIR/for-loop-type-error.rs:2:13
3    |
4 LL |     let x = () + (); //~ ERROR binary operation
5    |             ^^^^^^^
6    |
7    = note: an implementation of `std::ops::Add` might be missing for `()`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0369`.