1 error[E0283]: type annotations needed
2 --> $DIR/E0283.rs:30:21
4 LL | let cont: u32 = Generator::create();
5 | ^^^^^^^^^^^^^^^^^ cannot infer type
7 = note: cannot satisfy `_: Generator`
8 note: required by `Generator::create`
11 LL | fn create() -> u32;
14 error[E0283]: type annotations needed
15 --> $DIR/E0283.rs:35:24
17 LL | let bar = foo_impl.into() * 1u32;
20 | | cannot infer type for type parameter `T` declared on the trait `Into`
21 | this method call resolves to `T`
22 | help: use the fully qualified path for the potential candidate: `<Impl as Into<u32>>::into(foo_impl)`
24 = note: cannot satisfy `Impl: Into<_>`
26 error: aborting due to 2 previous errors
28 For more information about this error, try `rustc --explain E0283`.