Skip to content

Commit 863af9d

Browse files
authored
Rollup merge of rust-lang#81994 - jesusprubio:improve-long-explanation-e0542-e0546, r=GuillaumeGomez
Improve long explanation for E0542 and E0546 Helps with rust-lang#61137 To keep the consistency with: rust-lang#81925
2 parents 60472bb + a99d869 commit 863af9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0542.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn _stable_const_fn() {}
1919
fn _deprecated_fn() {}
2020
```
2121

22-
To fix the issue you need to provide the `since` field.
22+
To fix this issue, you need to provide the `since` field. Example:
2323

2424
```
2525
#![feature(staged_api)]

compiler/rustc_error_codes/src/error_codes/E0546.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn unstable_fn() {}
1313
fn stable_fn() {}
1414
```
1515

16-
To fix the issue you need to provide the `feature` field.
16+
To fix this issue, you need to provide the `feature` field. Example:
1717

1818
```
1919
#![feature(staged_api)]

0 commit comments

Comments
 (0)