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ยง

assign_solver ๐Ÿ”’
get_solver_count ๐Ÿ”’
language_item_table ๐Ÿ”’
solver_exhaustiveness_check ๐Ÿ”’

Structsยง

LangItems

Enumsยง

LangItemEnum
LangItemTarget

Constantsยง

SOLVER_ADTS_LEN ๐Ÿ”’
SOLVER_PROJECTIONS_LEN ๐Ÿ”’
SOLVER_TRAITS_LEN ๐Ÿ”’

Functionsยง

crate_extern_prelude ๐Ÿ”’
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.
merge_array_prefer_other ๐Ÿ”’
resolve_core_macro ๐Ÿ”’
resolve_core_trait ๐Ÿ”’