From d31f70c87c4e6451eaf69009fcf62c4435bf4174 Mon Sep 17 00:00:00 2001 From: Camelid Date: Wed, 10 Mar 2021 09:20:12 -0800 Subject: [PATCH] Clarify docs --- compiler/rustc_hir/src/lang_items.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_hir/src/lang_items.rs b/compiler/rustc_hir/src/lang_items.rs index 84c874ee537..e7a042a6348 100644 --- a/compiler/rustc_hir/src/lang_items.rs +++ b/compiler/rustc_hir/src/lang_items.rs @@ -74,7 +74,8 @@ macro_rules! language_item_table { } } - /// All of the language items in the current crate, defined or not. + /// All of the language items, defined or not. + /// Defined lang items can come from the current crate or its dependencies. #[derive(HashStable_Generic, Debug)] pub struct LanguageItems { /// Mappings from lang items to their possibly found [`DefId`]s.