2017-12-04 04:40:43 -06:00
|
|
|
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)
|
2017-12-04 04:40:43 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
2017-12-19 10:12:56 -06:00
|
|
|
error[E0309]: the parameter type `T` may not live long enough
|
2017-12-04 04:40:43 -06:00
|
|
|
--> $DIR/ty-param-fn-body.rs:30:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | outlives(cell, t)
|
2017-12-04 04:40:43 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2017-12-19 10:12:56 -06:00
|
|
|
|
|
|
|
|
= help: consider adding an explicit lifetime bound `T: 'a`...
|
2017-12-04 04:40:43 -06:00
|
|
|
|
|
|
|
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"
|