Module hir_expand::inert_attr_macro

source ·
Expand description

Builtin attributes resolved by nameres.

The actual definitions were copied from rustc’s compiler/rustc_feature/src/builtin_attrs.rs.

It was last synchronized with upstream commit c3def263a44e07e09ae6d57abfc8650227fb4972.

The macros were adjusted to only expand to the attribute name, since that is all we need to do name resolution, and BUILTIN_ATTRIBUTES is almost entirely unchanged from the original, to ease updating.

Structs§

Constants§

Functions§