2018-04-09 04:28:00 -05:00
|
|
|
warning: not reporting region error due to nll
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:23:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Box::new(x.next())
|
2017-12-03 12:14:36 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-04-09 04:28:00 -05:00
|
|
|
warning: not reporting region error due to nll
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:39:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Box::new(x.next())
|
2017-12-03 12:14:36 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-12-19 10:12:56 -06:00
|
|
|
error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:23:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Box::new(x.next())
|
2017-12-03 12:14:36 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2017-12-19 10:12:56 -06:00
|
|
|
|
|
|
|
|
= help: consider adding an explicit lifetime bound `<T as std::iter::Iterator>::Item: ReEarlyBound(0, 'a)`...
|
2017-12-03 12:14:36 -06:00
|
|
|
|
2017-12-19 10:12:56 -06:00
|
|
|
error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:39:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Box::new(x.next())
|
2017-12-03 12:14:36 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2017-12-19 10:12:56 -06:00
|
|
|
|
|
|
|
|
= help: consider adding an explicit lifetime bound `<T as std::iter::Iterator>::Item: ReEarlyBound(0, 'a)`...
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0309`.
|