Skip to content

Commit 4b112aa

Browse files
committed
Readd some details around the different version schemes
1 parent cb8f2fc commit 4b112aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

text/3366-diagnostic-attribute-namespace.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,11 @@ Clarify the procedure of various potential changes prior stabilisation of the at
219219
[future-possibilities]: #future-possibilities
220220

221221
* Add a versioning scheme
222-
+ For specific attributes
223-
+ For the namespace
222+
+ For specific attributes via `#[diagnostic::attribute(version = 42)]`
223+
+ For the namespace via a crate level `#[diagnostic::v{version_number}]` attribute
224224
+ Based on editions
225225
+ Custom versioning scheme
226+
+ (Each of these variants can be added in a backward compatible way if needed)
226227
* More attributes like `#[diagnostics::on_type_error]`
227228
* Extend the `#[diagnostics::on_unimplemented]` attribute to incorporate the semantics of `#[do_not_recommend]` or
228229
provide a distinct `#[diagnostics::do_not_recommend]` attribute

0 commit comments

Comments
 (0)