7 impl Generator for Impl {
8 fn create() -> u32 { 1 }
17 impl Into<u32> for Impl {
18 fn into(self) -> u32 { 1 }
25 impl Generator for AnotherImpl {
26 fn create() -> u32 { 2 }
30 let cont: u32 = Generator::create(); //~ ERROR E0790
34 let foo_impl = Impl::new();
35 let bar = foo_impl.into() * 1u32; //~ ERROR E0283