Expand description
Detecting lang items.
Language items are items that represent concepts intrinsic to the language itself. Examples are:
- Traits that specify βkindsβ; e.g.,
Sync,Send. - Traits that represent operators; e.g.,
Add,Sub,Index. - Functions called by the compiler itself.
StructsΒ§
EnumsΒ§
- Duplicate π
FunctionsΒ§
- extract_
ast π - Extracts the first
lang = "$name"out of a list of attributes. The#[panic_handler]attribute is also extracted out when found. - get_
lang_ πitems - Traverses and collects all the lang items in all crates.
- provide π