| error[E0308]: mismatched types |
| --> $DIR/issue-57611-trait-alias.rs:17:16 |
| | |
| LL | type Bar = impl Baz<Self, Self>; |
| | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other |
| | |
| = note: expected type `FnOnce<(&X,)>` |
| found type `FnOnce<(&X,)>` |
| |
| error[E0308]: mismatched types |
| --> $DIR/issue-57611-trait-alias.rs:17:16 |
| | |
| LL | type Bar = impl Baz<Self, Self>; |
| | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other |
| | |
| = note: expected type `for<'r> Fn<(&'r X,)>` |
| found type `Fn<(&'<empty> X,)>` |
| |
| error[E0308]: mismatched types |
| --> $DIR/issue-57611-trait-alias.rs:17:16 |
| | |
| LL | type Bar = impl Baz<Self, Self>; |
| | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other |
| | |
| = note: expected type `FnOnce<(&X,)>` |
| found type `FnOnce<(&'<empty> X,)>` |
| |
| error[E0308]: mismatched types |
| --> $DIR/issue-57611-trait-alias.rs:17:16 |
| | |
| LL | type Bar = impl Baz<Self, Self>; |
| | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other |
| | |
| = note: expected type `for<'r> Fn<(&'r X,)>` |
| found type `Fn<(&'<empty> X,)>` |
| |
| error[E0308]: mismatched types |
| --> $DIR/issue-57611-trait-alias.rs:17:16 |
| | |
| LL | type Bar = impl Baz<Self, Self>; |
| | ^^^^^^^^^^^^^^^^^^^^ one type is more general than the other |
| | |
| = note: expected type `FnOnce<(&X,)>` |
| found type `FnOnce<(&'<empty> X,)>` |
| |
| error: aborting due to 5 previous errors |
| |
| For more information about this error, try `rustc --explain E0308`. |