2019-10-30 00:28:39 +00:00
|
|
|
error[E0283]: type annotations needed
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/E0283.rs:18:21
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2019-08-24 21:44:43 +00:00
|
|
|
LL | fn create() -> u32;
|
|
|
|
| ------------------- required by `Generator::create`
|
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let cont: u32 = Generator::create();
|
2019-10-30 00:28:39 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^ cannot infer type
|
|
|
|
|
|
2020-04-05 02:47:50 +00:00
|
|
|
= note: cannot satisfy `_: Generator`
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0283`.
|