about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-02-06 08:31:19 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-03-21 18:18:25 +0100
commitb0dc15c61ba38ad86aa9d565f99189db4a91f4c4 (patch)
tree28cc0ef0c36be147403607b9109072fb25b3d977 /compiler/rustc_hir_analysis
parent66676820eb801473f21006fa64315ce3c42402eb (diff)
downloadrust-b0dc15c61ba38ad86aa9d565f99189db4a91f4c4.tar.gz
rust-b0dc15c61ba38ad86aa9d565f99189db4a91f4c4.zip
Reduce output spam
Diffstat (limited to 'compiler/rustc_hir_analysis')
-rw-r--r--compiler/rustc_hir_analysis/src/coherence/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/coherence/mod.rs b/compiler/rustc_hir_analysis/src/coherence/mod.rs
index 23490bc091c..465e787c92a 100644
--- a/compiler/rustc_hir_analysis/src/coherence/mod.rs
+++ b/compiler/rustc_hir_analysis/src/coherence/mod.rs
@@ -133,8 +133,8 @@ fn coherent_trait(tcx: TyCtxt<'_>, def_id: DefId) {
         check_impl(tcx, impl_def_id, trait_ref);
         check_object_overlap(tcx, impl_def_id, trait_ref);
 
-        tcx.sess.time("unsafety_checking", || unsafety::check_item(tcx, impl_def_id));
-        tcx.sess.time("orphan_checking", || tcx.ensure().orphan_check_impl(impl_def_id));
+        unsafety::check_item(tcx, impl_def_id);
+        tcx.ensure().orphan_check_impl(impl_def_id);
     }
 
     builtin::check_trait(tcx, def_id);