summaryrefslogtreecommitdiffstats
path: root/tests/ui/for/for-loop-type-error.stderr
blob: 393becd1b3452bc6448eb13793fe177425c006a5 (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 1 previous error

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