2020-01-10 08:13:05 -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-30 10:47:21 -06:00
|
|
|
= note: defining type: supply::{{closure}}#0 with closure substs [
|
2017-11-22 16:39:46 -06:00
|
|
|
i16,
|
2019-11-30 09:29:56 -06:00
|
|
|
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed('r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed('s)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed('r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed('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
|
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
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-30 10:47:21 -06:00
|
|
|
= note: defining type: supply
|
2017-11-22 16:39:46 -06:00
|
|
|
|