2017-12-03 12:14:36 -06:00
|
|
|
warning: not reporting region error due to -Znll
|
2017-12-05 12:15:23 -06:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:24:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
|
|
|
24 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: not reporting region error due to -Znll
|
2017-12-05 12:15:23 -06:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:40:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
|
|
|
40 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-12-19 10:12:56 -06:00
|
|
|
error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
|
2017-12-05 12:15:23 -06:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:24:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
|
|
|
24 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
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
|
2017-12-05 12:15:23 -06:00
|
|
|
--> $DIR/projection-no-regions-fn.rs:40:5
|
2017-12-03 12:14:36 -06:00
|
|
|
|
|
|
|
|
40 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
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-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0309"
|