error[E0792]: non-defining opaque type use in defining scope --> $DIR/multi-error.rs:17:17 | LL | fn foo() -> (Self::Bar, Self::Baz) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument `u32` is not a generic parameter | note: for this opaque type --> $DIR/multi-error.rs:15:19 | LL | type Bar = impl Sized; | ^^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0792`.