-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document all attributes and macros with examples #6444
Comments
Nominating for the well-covered milestone. |
accepted for well-covered milestone |
(the list here is too long to cope with sensibly so I am trying to make reasonably categorized sub-bugs.) |
|
Funny, the Perhaps we should handle this by explicitly listing the attributes that do not and will not have a default interpretation via rustc (where |
Okay there are only a handful of remaining small attributes that have not been delegated to some sub-bug. They can probably be handled just by associating them with this bug directly, unless someone feels like creating a new "miscellaneous" sub-bug, or new sub-bugs for each of them. |
(and of course I haven't done anything with the list of macros yet). |
I've collected most attributes currently in use at wiki. |
Documentation is low-hanging fruit, but not a reason to block 1.0. Not 1.0; P-low. |
Is it normal that the macros doc seem to have disappeared from the official documentation? E.g. searching for |
This is all messed up now that we have the Guide and no Tutorial. |
#16644 is related |
On May 12, 2013, kud1ing passed buck on "license" attribute to Bug 7961. At least two library crates won't build due to "license" attributes now being an error. (Was 3, but "stainless" was fixed. Currently broken: "http" and one other crate.) |
Checking off checking off checking off checking off |
…huonw Fixes rust-lang#6444 I need some help with the macro docs here, as I couldn't figure it out. @kmcallister @eddyb or someone else?
rust.md#attributes
andrust.md#macros
document some attributes and macros, but give few examples. Also there are some attributes/macros missing.Attributes:
#[no_implicit_prelude]
attribute. #7844Macros:
The text was updated successfully, but these errors were encountered: