error[E0309]: the associated type `>::Output` may not live long enough --> $DIR/projection-where-clause-env-wrong-bound.rs:15:5 | LL | fn foo1<'a, 'b, T>() -> &'a () | -- the associated type `>::Output` must be valid for the lifetime `'a` as defined here... ... LL | bar::() | ^^^^^^^^^^^^^^^^ ...so that the type `>::Output` will meet its required lifetime bounds | = help: consider adding an explicit lifetime bound `>::Output: 'a`... error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0309`.