We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#![feature(staged_api)]
1 parent e4ee172 commit 9536567Copy full SHA for 9536567
src/librustc_error_codes/error_codes/E0539.md
@@ -3,6 +3,8 @@ An invalid meta-item was used inside an attribute.
3
Erroneous code example:
4
5
```compile_fail,E0539
6
+#![feature(staged_api)]
7
+
8
#[rustc_deprecated(reason)] // error!
9
#[unstable(feature = "deprecated_fn", issue = "123")]
10
fn deprecated() {}
@@ -24,6 +26,8 @@ Meta items are the key-value pairs inside of an attribute.
24
26
To fix these issues you need to give required key-value pairs.
25
27
28
```
29
30
31
#[rustc_deprecated(since = "1.39.0", reason = "reason")] // ok!
32
33
0 commit comments