summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/constrain_inputs_unsound.stderr
blob: 948bd6deacd0ddf7925601b8a9ff94bbfead9463 (plain)
1
2
3
4
5
6
7
8
9
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`.