]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_impl/src/profiling_support.rs
Rollup merge of #106005 - LeSeulArtichaut:if-let-guard-borrowck-test, r=Nilstrieb
[rust.git] / compiler / rustc_query_impl / src / profiling_support.rs
index 81114f2cd82c326dbe9a98aefb7b402b986ded0f..5f54bab9c31474d87852d7e4fa820a34a385274d 100644 (file)
@@ -278,7 +278,7 @@ pub(crate) fn alloc_self_profile_query_strings_for_query_cache<'tcx, C>(
 /// If we are recording only summary data, the ids will point to
 /// just the query names. If we are recording query keys too, we
 /// allocate the corresponding strings here.
-pub fn alloc_self_profile_query_strings<'tcx>(tcx: TyCtxt<'tcx>) {
+pub fn alloc_self_profile_query_strings(tcx: TyCtxt<'_>) {
     if !tcx.prof.enabled() {
         return;
     }