Format fixes
This commit is contained in:
parent
956c81355a
commit
9be5d2d01f
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
The `since` value is missing in a stability attribute.
|
The `since` value is missing in a stability attribute.
|
||||||
|
|
||||||
|
|
||||||
Erroneous code example:
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0542
|
```compile_fail,E0542
|
||||||
|
@ -20,7 +19,7 @@ fn _stable_const_fn() {}
|
||||||
fn _deprecated_fn() {}
|
fn _deprecated_fn() {}
|
||||||
```
|
```
|
||||||
|
|
||||||
To fix the issue you need to provide the since field of the feature.
|
To fix the issue you need to provide the `since` field.
|
||||||
|
|
||||||
```
|
```
|
||||||
#![feature(staged_api)]
|
#![feature(staged_api)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue