2016-08-16 06:14:41 -05:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/move-closure.rs:15:17
|
|
|
|
|
|
|
|
|
15 | let x: () = move || ();
|
|
|
|
| ^^^^^^^^^^ expected (), found closure
|
|
|
|
|
|
|
|
|
= note: expected type `()`
|
2017-01-11 15:55:41 -06:00
|
|
|
found type `[closure@$DIR/move-closure.rs:15:17: 15:27]`
|
2016-08-16 06:14:41 -05:00
|
|
|
|
2017-05-22 06:46:05 -05:00
|
|
|
error: aborting due to previous error(s)
|
2016-08-16 06:14:41 -05:00
|
|
|
|