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`
9 error[E0283]: type annotations needed
10 --> $DIR/E0283.rs:35:24
12 LL | let bar = foo_impl.into() * 1u32;
15 | | cannot infer type for type parameter `T` declared on the trait `Into`
16 | this method call resolves to `T`
17 | help: use the fully qualified path for the potential candidate: `<Impl as Into<u32>>::into(foo_impl)`
19 note: multiple `impl`s satisfying `Impl: Into<_>` found
20 --> $DIR/E0283.rs:17:1
22 LL | impl Into<u32> for Impl {
23 | ^^^^^^^^^^^^^^^^^^^^^^^
24 = note: and another `impl` found in the `core` crate:
25 - impl<T, U> Into<U> for T
28 error: aborting due to 2 previous errors
30 For more information about this error, try `rustc --explain E0283`.