diff options
| author | Ayush Kumar Mishra <ayush.k.mishra@xcelenergy.com> | 2020-06-08 17:15:48 +0530 |
|---|---|---|
| committer | Ayush Kumar Mishra <ayush.k.mishra@xcelenergy.com> | 2020-06-08 17:15:48 +0530 |
| commit | b7f25d512ca96b70f0476eaef3824b467dede3ad (patch) | |
| tree | 47787cdcce143b6eddaa02bdb3e35c6686c17d34 | |
| parent | 73558160933b2764ed9a84b1b2b647e128eac3f8 (diff) | |
| download | rust-b7f25d512ca96b70f0476eaef3824b467dede3ad.tar.gz rust-b7f25d512ca96b70f0476eaef3824b467dede3ad.zip | |
Removed lifetime parameters from Explanation of E0207 #62144
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0207.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0207.md b/src/librustc_error_codes/error_codes/E0207.md index 21e7e461c75..cb4f5d5157d 100644 --- a/src/librustc_error_codes/error_codes/E0207.md +++ b/src/librustc_error_codes/error_codes/E0207.md @@ -1,4 +1,4 @@ -A type or lifetime parameter that is specified for `impl` is not constrained. +A type parameter that is specified for `impl` is not constrained. Erroneous code example: @@ -14,7 +14,7 @@ impl<T: Default> Foo { } ``` -Any type parameter or lifetime parameter of an `impl` must meet at least one of +Any type parameter parameter of an `impl` must meet at least one of the following criteria: - it appears in the _implementing type_ of the impl, e.g. `impl<T> Foo<T>` |
