rust/src/test/ui/nll/ty-outlives/projection-where-clause-none.stderr

12 lines
405 B
Plaintext
Raw Normal View History

2018-09-24 14:36:50 -05:00
error[E0309]: the parameter type `T` may not live long enough
--> $DIR/projection-where-clause-none.rs:16:5
|
LL | bar::<T::Output>() //~ ERROR the parameter type `T` may not live long enough
| ^^^^^^^^^^^^^^^^
2018-09-24 14:36:50 -05:00
|
= help: consider adding an explicit lifetime bound `T: 'a`...
error: aborting due to previous error
For more information about this error, try `rustc --explain E0309`.