about summary refs log tree commit diff
path: root/compiler/rustc_middle
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-07 21:48:16 +0200
committerGitHub <noreply@github.com>2022-09-07 21:48:16 +0200
commit0a1c816dcd8cd1c215162cf0043637bc4767c88a (patch)
tree734a284d04f20b683b479dc9b099f7d706752659 /compiler/rustc_middle
parentc365ce3ffddd05d85c55bdbcdb30a1106baf6072 (diff)
parentd42afd2bd19a33e99bad027909b88becab1068c4 (diff)
downloadrust-0a1c816dcd8cd1c215162cf0043637bc4767c88a.tar.gz
rust-0a1c816dcd8cd1c215162cf0043637bc4767c88a.zip
Rollup merge of #101503 - spastorino:add-debug-calls, r=compiler-errors
Add debug calls

`@oli-obk` requested this and other changes as a way of simplifying https://github.com/rust-lang/rust/pull/101345. This is just going to make the diff of https://github.com/rust-lang/rust/pull/101345 smaller.

r? `@oli-obk` `@cjgillot`
Diffstat (limited to 'compiler/rustc_middle')
-rw-r--r--compiler/rustc_middle/src/ty/generics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/ty/generics.rs b/compiler/rustc_middle/src/ty/generics.rs
index a1d980af921..8631ee91fa4 100644
--- a/compiler/rustc_middle/src/ty/generics.rs
+++ b/compiler/rustc_middle/src/ty/generics.rs
@@ -328,6 +328,7 @@ impl<'tcx> GenericPredicates<'tcx> {
         }
     }
 
+    #[instrument(level = "debug", skip(self, tcx))]
     fn instantiate_into(
         &self,
         tcx: TyCtxt<'tcx>,