Skip to main content

Module lang_item

Module lang_item 

Source
Expand description

Collects lang items: items marked with #[lang = "..."] attribute.

This attribute to tell the compiler about semi built-in std library features, such as Fn family of traits.

Macrosยง

language_item_table ๐Ÿ”’

Structsยง

LangItems

Enumsยง

LangItemEnum
LangItemTarget

Functionsยง

crate_lang_items
Salsa query. This will look for lang items in a specific crate.
crate_notable_traits
lang_items
Salsa query. Look for a lang items, starting from the specified crate and recursively traversing its dependencies.
resolve_core_macro ๐Ÿ”’
resolve_core_trait ๐Ÿ”’