diff options
| author | Jesus Rubio <jesusprubio@gmail.com> | 2021-02-11 16:26:07 +0100 |
|---|---|---|
| committer | Jesus Rubio <jesusprubio@gmail.com> | 2021-02-11 16:26:07 +0100 |
| commit | a99d869e6c80965520d5efe2740cf9f6875057f8 (patch) | |
| tree | 10ddb59fcb7a68a14d7f7c576a896f29c80f8f63 | |
| parent | 218bf8d7657e1aadf6f499651078f3710df20c7b (diff) | |
| download | rust-a99d869e6c80965520d5efe2740cf9f6875057f8.tar.gz rust-a99d869e6c80965520d5efe2740cf9f6875057f8.zip | |
Improve long explanation for E0542 and E0546
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0542.md | 2 | ||||
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0546.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0542.md b/compiler/rustc_error_codes/src/error_codes/E0542.md index dbbc34a71be..7cb58f9d0cb 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0542.md +++ b/compiler/rustc_error_codes/src/error_codes/E0542.md @@ -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)] diff --git a/compiler/rustc_error_codes/src/error_codes/E0546.md b/compiler/rustc_error_codes/src/error_codes/E0546.md index 0073357b5ea..a33dcb7a9ac 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0546.md +++ b/compiler/rustc_error_codes/src/error_codes/E0546.md @@ -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)] |
