From 175474549ca2add0dec0bea1cca2ce0e32c24dc6 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Tue, 18 Oct 2022 15:49:04 +0400 Subject: rustdoc: Eliminate uses of `EarlyDocLinkResolver::all_traits` --- compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler/rustc_metadata/src') diff --git a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs index c4dff8b3f48..8fee844c534 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs @@ -597,11 +597,6 @@ impl CStore { self.get_crate_data(cnum).get_proc_macro_quoted_span(id, sess) } - /// Decodes all traits in the crate (for rustdoc). - pub fn traits_in_crate_untracked(&self, cnum: CrateNum) -> impl Iterator + '_ { - self.get_crate_data(cnum).get_traits() - } - /// Decodes all trait impls in the crate (for rustdoc). pub fn trait_impls_in_crate_untracked( &self, -- cgit 1.4.1-3-g733a5