2017-12-03 12:14:36 -06:00
|
|
|
warning: not reporting region error due to -Znll
|
|
|
|
--> $DIR/projection-fn.rs:24:5
|
|
|
|
|
|
|
|
|
24 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: not reporting region error due to -Znll
|
|
|
|
--> $DIR/projection-fn.rs:40:5
|
|
|
|
|
|
|
|
|
40 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-12-04 04:40:43 -06:00
|
|
|
error: failed type test: TypeTest { generic_kind: ProjectionTy { substs: Slice([T]), item_def_id: DefId(2/0:1695 ~ core[2633]::iter[0]::iterator[0]::Iterator[0]::Item[0]) }, lower_bound: '_#4r, point: bb5[0], span: $DIR/projection-fn.rs:24:5: 24:23, test: IsOutlivedByAnyRegionIn(['_#2r]) }
|
2017-12-03 12:14:36 -06:00
|
|
|
--> $DIR/projection-fn.rs:24:5
|
|
|
|
|
|
|
|
|
24 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-12-04 04:40:43 -06:00
|
|
|
error: failed type test: TypeTest { generic_kind: ProjectionTy { substs: Slice([T]), item_def_id: DefId(2/0:1695 ~ core[2633]::iter[0]::iterator[0]::Iterator[0]::Item[0]) }, lower_bound: '_#5r, point: bb5[0], span: $DIR/projection-fn.rs:40:5: 40:23, test: IsOutlivedByAnyRegionIn(['_#2r, '_#3r]) }
|
2017-12-03 12:14:36 -06:00
|
|
|
--> $DIR/projection-fn.rs:40:5
|
|
|
|
|
|
|
|
|
40 | Box::new(x.next())
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|