rust/src/test/ui/nll/ty-outlives/ty-param-fn-body.stderr

18 lines
481 B
Plaintext
Raw Normal View History

warning: not reporting region error due to -Znll
--> $DIR/ty-param-fn-body.rs:30:5
|
2018-02-22 18:42:32 -06:00
LL | outlives(cell, t)
| ^^^^^^^^
error[E0309]: the parameter type `T` may not live long enough
--> $DIR/ty-param-fn-body.rs:30:5
|
2018-02-22 18:42:32 -06:00
LL | outlives(cell, t)
| ^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `T: 'a`...
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0309"