From b7f25d512ca96b70f0476eaef3824b467dede3ad Mon Sep 17 00:00:00 2001 From: Ayush Kumar Mishra Date: Mon, 8 Jun 2020 17:15:48 +0530 Subject: [PATCH] Removed lifetime parameters from Explanation of E0207 #62144 --- src/librustc_error_codes/error_codes/E0207.md | 4 ++-- 1 file 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 21e7e461c753b..cb4f5d5157d9b 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 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 Foo`