rust/tests/ui/type-alias-impl-trait/constrain_inputs_unsound.st...

10 lines
444 B
Plaintext

error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
--> $DIR/constrain_inputs_unsound.rs:23:58
|
LL | type MalformedTy = dyn for<'a> Callable<Gal<&'a ()>, Output = &'a str>;
| ^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0582`.