mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Format fixes
This commit is contained in:
parent
956c81355a
commit
9be5d2d01f
@ -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…
Reference in New Issue
Block a user