error[E0283]: type annotations required: cannot resolve `_: Generator` | |
--> $DIR/E0283.rs:18:21 | |
| | |
LL | fn create() -> u32; | |
| ------------------- required by `Generator::create` | |
... | |
LL | let cont: u32 = Generator::create(); | |
| ^^^^^^^^^^^^^^^^^ | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0283`. |