rust/src/test/ui/span/move-closure.stderr

13 lines
402 B
Plaintext
Raw Normal View History

error[E0308]: mismatched types
--> $DIR/move-closure.rs:15:17
|
2018-02-22 18:42:32 -06:00
LL | let x: () = move || (); //~ ERROR mismatched types
| ^^^^^^^^^^ 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]`
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0308`.