Improve long explanation for E0542 and E0546
This commit is contained in:
parent
218bf8d765
commit
a99d869e6c
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ fn _stable_const_fn() {}
|
|||
fn _deprecated_fn() {}
|
||||
```
|
||||
|
||||
To fix the issue you need to provide the `since` field.
|
||||
To fix this issue, you need to provide the `since` field. Example:
|
||||
|
||||
```
|
||||
#![feature(staged_api)]
|
||||
|
|
|
@ -13,7 +13,7 @@ fn unstable_fn() {}
|
|||
fn stable_fn() {}
|
||||
```
|
||||
|
||||
To fix the issue you need to provide the `feature` field.
|
||||
To fix this issue, you need to provide the `feature` field. Example:
|
||||
|
||||
```
|
||||
#![feature(staged_api)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue