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:
Yuki Okushi 2021-02-12 19:32:15 +09:00 committed by GitHub
commit 44d28717da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)]

View File

@ -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)]