rust-lang / reference

The Rust Reference
https://doc.rust-lang.org/nightly/reference/
Apache License 2.0
1.25k stars 491 forks source link

missing attribute and derive macro namespaces #1621

Closed lolbinarycat closed 2 months ago

lolbinarycat commented 2 months ago

the namespaces section describes 5 namespaces: type, value, macro, lifetime, and label, but there are two more, both related to proc macros:

ehuss commented 2 months ago

The macro namespace is split into two sub-namespaces where I believe what you are looking for resides. I'm not aware of derives existing in a separate namespaces from attributes. Can you show an example of that?

lolbinarycat commented 2 months ago

i stand corrected.