2018-04-09 04:28:00 -05:00
|
|
|
warning: not reporting region error due to nll
|
2017-12-10 15:12:28 -06:00
|
|
|
--> $DIR/propagate-despite-same-free-region.rs:54:21
|
2017-11-22 16:39:46 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let p = x.get();
|
2017-11-22 16:39:46 -06:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
note: External requirements
|
2017-12-10 15:12:28 -06:00
|
|
|
--> $DIR/propagate-despite-same-free-region.rs:52: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
|
|
|
| |_________^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/1:16 ~ propagate_despite_same_free_region[317d]::supply[0]::{{closure}}[0]) with closure substs [
|
|
|
|
i16,
|
2018-06-10 08:09:21 -05:00
|
|
|
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebrujinIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebrujinIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebrujinIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebrujinIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
2017-11-22 16:39:46 -06:00
|
|
|
]
|
|
|
|
= note: number of external vids: 3
|
|
|
|
= note: where '_#1r: '_#2r
|
|
|
|
|
|
|
|
note: No external requirements
|
2017-12-10 15:12:28 -06:00
|
|
|
--> $DIR/propagate-despite-same-free-region.rs:49: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
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/0:6 ~ propagate_despite_same_free_region[317d]::supply[0]) with substs []
|
|
|
|
|