rust/src/test/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr

33 lines
1.3 KiB
Plaintext
Raw Normal View History

note: External requirements
2018-12-25 09:56:47 -06:00
--> $DIR/propagate-despite-same-free-region.rs:42:9
|
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 | | },
| |_________^
|
= note: defining type: DefId(0:14 ~ propagate_despite_same_free_region[317d]::supply[0]::{{closure}}[0]) with closure substs [
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>)),
]
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
= 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
|
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| {
... |
2018-02-22 18:42:32 -06:00
LL | | );
LL | | }
| |_^
|
= note: defining type: DefId(0:12 ~ propagate_despite_same_free_region[317d]::supply[0]) with substs []