[−][src]Module rustc_hir::lang_items

Defines language items.

Language items are items that represent concepts intrinsic to the language itself. Examples are:

Re-exports

pub use self::LangItem::*;

Structs

ITEM_REFS

A mapping from the name of the lang item to its order and the form it must be of.

LanguageItems

Enums

LangItem

A representation of all the valid language items in Rust.

LangItemGroup

Constants

NUM_GROUPS

Functions

extract

Extracts the first lang = "$name" out of a list of attributes. The attributes #[panic_handler] and #[alloc_error_handler] are also extracted out when found.