We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
traits_in_scope
1 parent da921e9 commit d77eff2Copy full SHA for d77eff2
src/librustc_resolve/lib.rs
@@ -3125,6 +3125,9 @@ impl<'a> Resolver<'a> {
3125
})
3126
}
3127
3128
+ /// This is equivalent to `get_traits_in_module_containing_item`, but without filtering by the associated item.
3129
+ ///
3130
+ /// This is used by rustdoc for intra-doc links.
3131
pub fn traits_in_scope(&mut self, module_id: DefId) -> Vec<TraitCandidate> {
3132
let module = self.get_module(module_id);
3133
module.ensure_traits(self);
0 commit comments