Skip to content

Commit dcc194c

Browse files
committed
instrument QueryNormalizer::fold_ty
1 parent 603ab5b commit dcc194c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_trait_selection/src/traits/query/normalize.rs

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ impl<'cx, 'tcx> TypeFolder<'tcx> for QueryNormalizer<'cx, 'tcx> {
9797
self.infcx.tcx
9898
}
9999

100+
#[instrument(skip(self))]
100101
fn fold_ty(&mut self, ty: Ty<'tcx>) -> Ty<'tcx> {
101102
if !ty.has_projections() {
102103
return ty;

0 commit comments

Comments
 (0)