2017-11-22 16:39:46 -06:00
|
|
|
note: External requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/propagate-despite-same-free-region.rs:42:9
|
2017-11-22 16:39:46 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / |_outlives1, _outlives2, x, y| {
|
|
|
|
LL | | // Only works if 'x: 'y:
|
|
|
|
LL | | let p = x.get();
|
|
|
|
LL | | demand_y(x, y, p)
|
|
|
|
LL | | },
|
2017-11-22 16:39:46 -06:00
|
|
|
| |_________^
|
|
|
|
|
|
2019-11-05 05:49:36 -06:00
|
|
|
= note: defining type: DefId(0:14 ~ propagate_despite_same_free_region[317d]::supply[0]::{{closure}}[0]) with closure substs [
|
2017-11-22 16:39:46 -06:00
|
|
|
i16,
|
2019-05-08 14:07:12 -05:00
|
|
|
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0), 's)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0), 's)) u32>)),
|
2017-11-22 16:39:46 -06:00
|
|
|
]
|
2018-09-07 12:35:16 -05:00
|
|
|
= note: late-bound region is '_#3r
|
2018-07-27 16:46:16 -05:00
|
|
|
= note: number of external vids: 4
|
2017-11-22 16:39:46 -06:00
|
|
|
= note: where '_#1r: '_#2r
|
|
|
|
|
|
|
|
note: No external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/propagate-despite-same-free-region.rs:39:1
|
2017-11-22 16:39:46 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / fn supply<'a>(cell_a: Cell<&'a u32>) {
|
|
|
|
LL | | establish_relationships(
|
|
|
|
LL | | cell_a,
|
|
|
|
LL | | |_outlives1, _outlives2, x, y| {
|
2017-11-22 16:39:46 -06:00
|
|
|
... |
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | );
|
|
|
|
LL | | }
|
2017-11-22 16:39:46 -06:00
|
|
|
| |_^
|
|
|
|
|
|
2019-11-05 05:49:36 -06:00
|
|
|
= note: defining type: DefId(0:12 ~ propagate_despite_same_free_region[317d]::supply[0]) with substs []
|
2017-11-22 16:39:46 -06:00
|
|
|
|