Function rustc_hir::lang_items::extract
source · Expand description
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.