Commit 0d519ab
committed
Slightly change to wording around the definition of the
namespace
This hopefully addresses both concerns raised by petrochenkov:
> Does #[diagnostic::something] behave like #[rustfmt::skip] from name
resolution / macro expansion point of view?
By specifying that `#[diagnostic]` is a built-in tool attribute
> How many of these attributes will exist - 2, 3, 5?
> Why is it necessary to add a mechanism for grouping them instead of just
using built-in attributes?
By being explicit about that this namespace also serves an
organizational need by defining a common set of rules. This hopefully
allows the language team to delegate the decisions about the design of
specific attributes to other teams.#[diagnostic]
1 parent 4b112aa commit 0d519ab
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments