Auto merge of #118454 - lcnr:overflow-yay, r=compiler-errors
new solver: improve instrument annotations
This commit is contained in:
commit
475f6f85a8
@ -490,6 +490,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||
}
|
||||
}
|
||||
|
||||
#[instrument(level = "debug", skip_all)]
|
||||
fn assemble_unsize_to_dyn_candidate<G: GoalKind<'tcx>>(
|
||||
&mut self,
|
||||
goal: Goal<'tcx, G>,
|
||||
@ -507,6 +508,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||
}
|
||||
}
|
||||
|
||||
#[instrument(level = "debug", skip_all)]
|
||||
fn assemble_blanket_impl_candidates<G: GoalKind<'tcx>>(
|
||||
&mut self,
|
||||
goal: Goal<'tcx, G>,
|
||||
|
@ -146,7 +146,7 @@ pub trait InferCtxtEvalExt<'tcx> {
|
||||
}
|
||||
|
||||
impl<'tcx> InferCtxtEvalExt<'tcx> for InferCtxt<'tcx> {
|
||||
#[instrument(level = "debug", skip(self), ret)]
|
||||
#[instrument(level = "debug", skip(self))]
|
||||
fn evaluate_root_goal(
|
||||
&self,
|
||||
goal: Goal<'tcx, ty::Predicate<'tcx>>,
|
||||
|
@ -288,6 +288,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||
/// in [`EvalCtxt::assemble_candidates_via_self_ty`] does not have to normalize
|
||||
/// the self type. It is required when structurally matching on any other
|
||||
/// arguments of a trait goal, e.g. when assembling builtin unsize candidates.
|
||||
#[instrument(level = "debug", skip(self), ret)]
|
||||
fn try_normalize_ty(
|
||||
&mut self,
|
||||
param_env: ty::ParamEnv<'tcx>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user