new solver: improve instrument annotations

This commit is contained in:
lcnr 2023-11-29 19:27:04 +01:00
parent abe34e9ab1
commit 0ec2bf3e0a
3 changed files with 4 additions and 1 deletions

View file

@ -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>,