Skip to content

Commit 4d42de6

Browse files
committed
add instrument to register_predicate_obligation
1 parent bd0d533 commit 4d42de6

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_trait_selection/src/solve

1 file changed

+1
-0
lines changed

compiler/rustc_trait_selection/src/solve/fulfill.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ impl<'tcx> FulfillmentCtxt<'tcx> {
4141
}
4242

4343
impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
44+
#[instrument(level = "debug", skip(self, _infcx))]
4445
fn register_predicate_obligation(
4546
&mut self,
4647
infcx: &InferCtxt<'tcx>,

0 commit comments

Comments
 (0)