mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Improve long explanation for E0542 and E0546
This commit is contained in:
parent
218bf8d765
commit
a99d869e6c
@ -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…
Reference in New Issue
Block a user