diff options
| author | bors <bors@rust-lang.org> | 2022-01-09 12:43:37 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-09 12:43:37 +0000 | 
| commit | f7bb8e3677ba4277914e85a3060e5d69151aed44 (patch) | |
| tree | 47846c6f667683a6e5736242239cd4f686fa6ecd /src/librustdoc/clean/inline.rs | |
| parent | e19ca1d946269f7b7eb13171531caf2e16f42076 (diff) | |
| parent | e6aa48d3a7984ca928b8de65e544eab18b1605c2 (diff) | |
| download | rust-f7bb8e3677ba4277914e85a3060e5d69151aed44.tar.gz rust-f7bb8e3677ba4277914e85a3060e5d69151aed44.zip | |
Auto merge of #92690 - matthiaskrgr:rollup-rw0oz05, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #92055 (Add release notes for 1.58) - #92490 (Move crate drop-down to search results page) - #92510 (Don't resolve blocks in foreign functions) - #92573 (expand: Refactor InvocationCollector visitor for better code reuse) - #92608 (rustdoc: Introduce a resolver cache for sharing data between early doc link resolution and later passes) - #92657 (Implemented const casts of raw pointers) - #92671 (Make `Atomic*::from_mut` return `&mut Atomic*`) - #92673 (Remove useless collapse toggle on "all items" page) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/librustdoc/clean/inline.rs')
| -rw-r--r-- | src/librustdoc/clean/inline.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/librustdoc/clean/inline.rs b/src/librustdoc/clean/inline.rs index d4e2969819f..b91ba5523e0 100644 --- a/src/librustdoc/clean/inline.rs +++ b/src/librustdoc/clean/inline.rs @@ -291,6 +291,7 @@ crate fn build_impls( attrs: Option<Attrs<'_>>, ret: &mut Vec<clean::Item>, ) { + let _prof_timer = cx.tcx.sess.prof.generic_activity("build_inherent_impls"); let tcx = cx.tcx; // for each implementation of an item represented by `did`, build the clean::Item for that impl @@ -338,7 +339,7 @@ crate fn build_impl( return; } - let _prof_timer = cx.tcx.sess.prof.generic_activity("build_extern_trait_impl"); + let _prof_timer = cx.tcx.sess.prof.generic_activity("build_impl"); let tcx = cx.tcx; let associated_trait = tcx.impl_trait_ref(did); | 
