print less info to stabilize tests
This commit is contained in:
parent
43e758798c
commit
bb8c4c0db9
15 changed files with 34 additions and 26 deletions
|
@ -327,11 +327,15 @@ impl<'tcx> UniversalRegions<'tcx> {
|
||||||
&substs.substs[..]
|
&substs.substs[..]
|
||||||
));
|
));
|
||||||
|
|
||||||
|
// FIXME: It'd be nice to print the late-bound regions
|
||||||
|
// here, but unfortunately these wind up stored into
|
||||||
|
// tests, and the resulting print-outs include def-ids
|
||||||
|
// and other things that are not stable across tests!
|
||||||
|
// So we just include the region-vid. Annoying.
|
||||||
let closure_base_def_id = tcx.closure_base_def_id(def_id);
|
let closure_base_def_id = tcx.closure_base_def_id(def_id);
|
||||||
for_each_late_bound_region_defined_on(tcx, closure_base_def_id, |r| {
|
for_each_late_bound_region_defined_on(tcx, closure_base_def_id, |r| {
|
||||||
err.note(&format!(
|
err.note(&format!(
|
||||||
"late-bound region {:?} is {:?}",
|
"late-bound region is {:?}",
|
||||||
r,
|
|
||||||
self.to_region_vid(r),
|
self.to_region_vid(r),
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
@ -343,11 +347,13 @@ impl<'tcx> UniversalRegions<'tcx> {
|
||||||
&substs.substs[..]
|
&substs.substs[..]
|
||||||
));
|
));
|
||||||
|
|
||||||
|
// FIXME: As above, we'd like to print out the region
|
||||||
|
// `r` but doing so is not stable across architectures
|
||||||
|
// and so forth.
|
||||||
let closure_base_def_id = tcx.closure_base_def_id(def_id);
|
let closure_base_def_id = tcx.closure_base_def_id(def_id);
|
||||||
for_each_late_bound_region_defined_on(tcx, closure_base_def_id, |r| {
|
for_each_late_bound_region_defined_on(tcx, closure_base_def_id, |r| {
|
||||||
err.note(&format!(
|
err.note(&format!(
|
||||||
"late-bound region {:?} is {:?}",
|
"late-bound region is {:?}",
|
||||||
r,
|
|
||||||
self.to_region_vid(r),
|
self.to_region_vid(r),
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
|
|
@ -12,9 +12,9 @@ LL | | },
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&'_#2r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#3r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&'_#2r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#3r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_fail_no_postdom[317d]::supply[0]), BrNamed(crate0:DefIndex(1:17), 'a)) is '_#4r
|
= note: late-bound region is '_#4r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_fail_no_postdom[317d]::supply[0]), BrNamed(crate0:DefIndex(1:19), 'c)) is '_#5r
|
= note: late-bound region is '_#5r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_fail_no_postdom[317d]::supply[0]), BrNamed(crate0:DefIndex(1:18), 'b)) is '_#6r
|
= note: late-bound region is '_#6r
|
||||||
|
|
||||||
error: unsatisfied lifetime constraints
|
error: unsatisfied lifetime constraints
|
||||||
--> $DIR/propagate-approximated-fail-no-postdom.rs:56:13
|
--> $DIR/propagate-approximated-fail-no-postdom.rs:56:13
|
||||||
|
|
|
@ -14,8 +14,8 @@ LL | | });
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's, 't0, 't1, 't2, 't3> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) &'_#2r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't3)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>))
|
for<'r, 's, 't0, 't1, 't2, 't3> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) &'_#2r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't3)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_ref[317d]::supply[0]), BrNamed(crate0:DefIndex(1:17), 'b)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_ref[317d]::supply[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#4r
|
= note: late-bound region is '_#4r
|
||||||
= note: number of external vids: 5
|
= note: number of external vids: 5
|
||||||
= note: where '_#1r: '_#2r
|
= note: where '_#1r: '_#2r
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@ LL | | });
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's, 't0, 't1, 't2> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) u32>))
|
for<'r, 's, 't0, 't1, 't2> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_shorter_to_static_no_bound[317d]::supply[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#2r
|
= note: late-bound region is '_#2r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_shorter_to_static_no_bound[317d]::supply[0]), BrNamed(crate0:DefIndex(1:17), 'b)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: number of external vids: 4
|
= note: number of external vids: 4
|
||||||
= note: where '_#1r: '_#0r
|
= note: where '_#1r: '_#0r
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ LL | | });
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's, 't0, 't1, 't2, 't3> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&'_#2r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't3)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>))
|
for<'r, 's, 't0, 't1, 't2, 't3> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&'_#2r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't3)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_shorter_to_static_wrong_bound[317d]::supply[0]), BrNamed(crate0:DefIndex(1:17), 'b)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_shorter_to_static_wrong_bound[317d]::supply[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#4r
|
= note: late-bound region is '_#4r
|
||||||
= note: number of external vids: 5
|
= note: number of external vids: 5
|
||||||
= note: where '_#1r: '_#0r
|
= note: where '_#1r: '_#0r
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ LL | | });
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_val[317d]::test[0]), BrNamed(crate0:DefIndex(1:17), 'b)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_approximated_val[317d]::test[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#4r
|
= note: late-bound region is '_#4r
|
||||||
= note: number of external vids: 5
|
= note: number of external vids: 5
|
||||||
= note: where '_#1r: '_#2r
|
= note: where '_#1r: '_#2r
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ LL | | },
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_despite_same_free_region[317d]::supply[0]), BrNamed(crate0:DefIndex(1:15), 'a)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: number of external vids: 4
|
= note: number of external vids: 4
|
||||||
= note: where '_#1r: '_#2r
|
= note: where '_#1r: '_#2r
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ LL | | });
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's, 't0, 't1, 't2> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#1r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
for<'r, 's, 't0, 't1, 't2> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#1r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_fail_to_approximate_longer_no_bounds[317d]::supply[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#2r
|
= note: late-bound region is '_#2r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_fail_to_approximate_longer_no_bounds[317d]::supply[0]), BrNamed(crate0:DefIndex(1:17), 'b)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
|
|
||||||
error: unsatisfied lifetime constraints
|
error: unsatisfied lifetime constraints
|
||||||
--> $DIR/propagate-fail-to-approximate-longer-no-bounds.rs:47:9
|
--> $DIR/propagate-fail-to-approximate-longer-no-bounds.rs:47:9
|
||||||
|
|
|
@ -13,8 +13,8 @@ LL | | });
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's, 't0, 't1, 't2, 't3> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#1r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) &'_#2r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't3)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>))
|
for<'r, 's, 't0, 't1, 't2, 't3> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) &'_#1r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) &'_#2r u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't2)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't3)) std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 't1)) u32>))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_fail_to_approximate_longer_wrong_bounds[317d]::supply[0]), BrNamed(crate0:DefIndex(1:17), 'b)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: late-bound region ReFree(DefId(0/0:6 ~ propagate_fail_to_approximate_longer_wrong_bounds[317d]::supply[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#4r
|
= note: late-bound region is '_#4r
|
||||||
|
|
||||||
error: unsatisfied lifetime constraints
|
error: unsatisfied lifetime constraints
|
||||||
--> $DIR/propagate-fail-to-approximate-longer-wrong-bounds.rs:51:9
|
--> $DIR/propagate-fail-to-approximate-longer-wrong-bounds.rs:51:9
|
||||||
|
|
|
@ -10,6 +10,7 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#3r
|
||||||
= note: number of external vids: 4
|
= note: number of external vids: 4
|
||||||
= note: where T: '_#2r
|
= note: where T: '_#2r
|
||||||
= note: where '_#1r: '_#2r
|
= note: where '_#1r: '_#2r
|
||||||
|
|
|
@ -10,6 +10,7 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#3r
|
||||||
= note: number of external vids: 4
|
= note: number of external vids: 4
|
||||||
= note: where '_#1r: '_#2r
|
= note: where '_#1r: '_#2r
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,7 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:8 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_late[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#3r
|
= note: late-bound region is '_#3r
|
||||||
= note: late-bound region ReFree(DefId(0/0:8 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_late[0]), BrNamed(crate0:DefIndex(1:18), T)) is '_#4r
|
|
||||||
|
|
||||||
note: No external requirements
|
note: No external requirements
|
||||||
--> $DIR/projection-one-region-trait-bound-static-closure.rs:42:1
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:42:1
|
||||||
|
@ -42,7 +41,6 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:9 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_early[0]), BrNamed(crate0:DefIndex(1:22), T)) is '_#4r
|
|
||||||
|
|
||||||
note: No external requirements
|
note: No external requirements
|
||||||
--> $DIR/projection-one-region-trait-bound-static-closure.rs:50:1
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:50:1
|
||||||
|
@ -75,7 +73,6 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:10 ~ projection_one_region_trait_bound_static_closure[317d]::projection_outlives[0]), BrNamed(crate0:DefIndex(1:26), T)) is '_#4r
|
|
||||||
|
|
||||||
note: No external requirements
|
note: No external requirements
|
||||||
--> $DIR/projection-one-region-trait-bound-static-closure.rs:59:1
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:59:1
|
||||||
|
@ -108,7 +105,6 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:11 ~ projection_one_region_trait_bound_static_closure[317d]::elements_outlive[0]), BrNamed(crate0:DefIndex(1:30), T)) is '_#4r
|
|
||||||
|
|
||||||
note: No external requirements
|
note: No external requirements
|
||||||
--> $DIR/projection-one-region-trait-bound-static-closure.rs:78:1
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:78:1
|
||||||
|
@ -140,7 +136,6 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
||||||
]
|
]
|
||||||
= note: late-bound region ReFree(DefId(0/0:12 ~ projection_one_region_trait_bound_static_closure[317d]::one_region[0]), BrNamed(crate0:DefIndex(1:33), T)) is '_#3r
|
|
||||||
|
|
||||||
note: No external requirements
|
note: No external requirements
|
||||||
--> $DIR/projection-one-region-trait-bound-static-closure.rs:87:1
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:87:1
|
||||||
|
|
|
@ -11,6 +11,7 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#4r
|
||||||
= note: number of external vids: 5
|
= note: number of external vids: 5
|
||||||
= note: where <T as Anything<ReClosureBound('_#1r), ReClosureBound('_#2r)>>::AssocType: '_#3r
|
= note: where <T as Anything<ReClosureBound('_#1r), ReClosureBound('_#2r)>>::AssocType: '_#3r
|
||||||
|
|
||||||
|
@ -212,6 +213,7 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#3r
|
||||||
= note: number of external vids: 4
|
= note: number of external vids: 4
|
||||||
= note: where <T as Anything<ReClosureBound('_#1r), ReClosureBound('_#1r)>>::AssocType: '_#2r
|
= note: where <T as Anything<ReClosureBound('_#1r), ReClosureBound('_#1r)>>::AssocType: '_#2r
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ LL | twice(cell, value, |a, b| invoke(a, b));
|
||||||
i16,
|
i16,
|
||||||
for<'r, 's> extern "rust-call" fn((std::option::Option<std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) ()>>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) T))
|
for<'r, 's> extern "rust-call" fn((std::option::Option<std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 'r)) ()>>, &ReLateBound(DebruijnIndex(0), BrNamed(crate0:DefIndex(0:0), 's)) T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#2r
|
||||||
= note: number of external vids: 3
|
= note: number of external vids: 3
|
||||||
= note: where T: '_#1r
|
= note: where T: '_#1r
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ LL | | })
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#1r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#1r ()>, T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#2r
|
||||||
= note: number of external vids: 3
|
= note: number of external vids: 3
|
||||||
= note: where T: '_#1r
|
= note: where T: '_#1r
|
||||||
|
|
||||||
|
@ -106,6 +107,7 @@ LL | | })
|
||||||
i32,
|
i32,
|
||||||
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
||||||
]
|
]
|
||||||
|
= note: late-bound region is '_#3r
|
||||||
= note: number of external vids: 4
|
= note: number of external vids: 4
|
||||||
= note: where T: '_#2r
|
= note: where T: '_#2r
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue