Skip to main content

Module attr_macro

Module attr_macro 

Source
Expand description

Builtin attributes.

Macrosยง

register_builtin ๐Ÿ”’

Enumsยง

BuiltinAttrExpander

Functionsยง

derive_expand ๐Ÿ”’
We generate a very specific expansion here, as we do not actually expand the #[derive] attribute itself in name res, but we do want to expand it to something for the IDE layer, so that the input derive attributes can be downmapped, and resolved as proper paths. This is basically a hack, that simplifies the hacks we need in a lot of ide layer places to somewhat inconsistently resolve derive attributes.
dummy_attr_expand ๐Ÿ”’
dummy_gate_test_expand ๐Ÿ”’
find_builtin_attr
pseudo_derive_attr_expansion