Skip to content

Commit

Permalink
Rollup merge of rust-lang#81994 - jesusprubio:improve-long-explanatio…
Browse files Browse the repository at this point in the history
…n-e0542-e0546, r=GuillaumeGomez

Improve long explanation for E0542 and E0546

Helps with rust-lang#61137

To keep the consistency with: rust-lang#81925
  • Loading branch information
JohnTitor committed Feb 12, 2021
2 parents 60472bb + a99d869 commit 863af9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0542.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0546.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 863af9d

Please sign in to comment.