summaryrefslogtreecommitdiffstats
path: root/src/test/ui/for/for-loop-type-error.stderr
blob: c93a3b9b25c15ba56aa23cf7798ab8f50ccde8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0369]: cannot add `()` to `()`
  --> $DIR/for-loop-type-error.rs:2:16
   |
LL |     let x = () + ();
   |             -- ^ -- ()
   |             |
   |             ()

error: aborting due to previous error

For more information about this error, try `rustc --explain E0369`.