Rollup merge of #81994 - jesusprubio:improve-long-explanation-e0542-e0546, r=GuillaumeGomez
Improve long explanation for E0542 and E0546 Helps with #61137 To keep the consistency with: https://github.com/rust-lang/rust/pull/81925
This commit is contained in:
commit
44d28717da
@ -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