We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d33d41 commit 7b84b62Copy full SHA for 7b84b62
compiler/rustc_error_codes/src/error_codes/E0547.md
@@ -1,6 +1,14 @@
1
+The `issue` value is missing in a stability attribute.
2
+
3
+Erroneous code example:
4
5
+```compile_fail,E0547
6
+#![feature(staged_api)]
7
#![stable(since = "1.0.0", feature = "test")]
8
9
#[unstable(feature = "_unstable_fn")] // invalid
10
fn _unstable_fn() {}
11
12
#[rustc_const_unstable(feature = "_unstable_const_fn")] // invalid
13
fn _unstable_const_fn() {}
14
```
@@ -10,8 +18,10 @@ To fix the issue you need to provide the `issue` field.
18
19
#![feature(staged_api)]
20
21
22
#[unstable(feature = "_unstable_fn", issue = "none")] // ok!
23
24
15
25
#[rustc_const_unstable(
16
26
feature = "_unstable_const_fn",
17
27
issue = "none"
0 commit comments