diff options
| author | Josh White <jwhite927@gmail.com> | 2020-02-06 17:28:03 -0500 |
|---|---|---|
| committer | Josh White <jwhite927@gmail.com> | 2020-02-06 17:28:03 -0500 |
| commit | 78df44655aa8547baa25ee9ca49699ad82c7f76d (patch) | |
| tree | 8145744ccdda7c15f8b86a6b9245ed9ea1f05c51 /src/librustc_error_codes/error_codes | |
| parent | 1923586286dea1a0f8ece43056126fc2ecc89337 (diff) | |
Tidied up the long error description
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0637.md | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustc_error_codes/error_codes/E0637.md b/src/librustc_error_codes/error_codes/E0637.md index 44a365be7e0..978cf273c94 100644 --- a/src/librustc_error_codes/error_codes/E0637.md +++ b/src/librustc_error_codes/error_codes/E0637.md @@ -1,6 +1,5 @@ - An underscore `_` character or a numeric literal `u8`, `i32`, `f64`, etc has -been used as the identifier for a lifetime. +been used as the identifier for a lifetime. Erroneous code example 1: ``` @@ -29,6 +28,4 @@ fn some_function<'a>(str1: &'a str, str2: &'a str) -> &'a str { //Some code } ``` - [bk-no]: https://doc.rust-lang.org/book/appendix-02-operators.html#non-operator-symbols - |
