Auto merge of #117881 - TaKO8Ki:rollup-n7jtmgj, r=TaKO8Ki
Rollup of 5 pull requests Successful merges: - #117737 (Remove `-Zkeep-hygiene-data`.) - #117830 (Small improvements in object lifetime default code) - #117858 (Compute layout with spans for better cycle errors in coroutines) - #117863 (Remove some unused stuff from `rustc_index`) - #117872 (Cranelift isn't available on non-nightly channels) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
@@ -2847,6 +2847,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
||||
/// provided, if they provided one, and otherwise search the supertypes of trait bounds
|
||||
/// for region bounds. It may be that we can derive no bound at all, in which case
|
||||
/// we return `None`.
|
||||
#[instrument(level = "debug", skip(self, span), ret)]
|
||||
fn compute_object_lifetime_bound(
|
||||
&self,
|
||||
span: Span,
|
||||
@@ -2855,8 +2856,6 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
||||
{
|
||||
let tcx = self.tcx();
|
||||
|
||||
debug!("compute_opt_region_bound(existential_predicates={:?})", existential_predicates);
|
||||
|
||||
// No explicit region bound specified. Therefore, examine trait
|
||||
// bounds and see if we can derive region bounds from those.
|
||||
let derived_region_bounds = object_region_bounds(tcx, existential_predicates);
|
||||
|
||||
Reference in New Issue
Block a user