about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-08 22:15:17 +0200
committerGitHub <noreply@github.com>2020-06-08 22:15:17 +0200
commit31a1858a73f26be75a8c7b4189b03f47a68bf9a1 (patch)
tree011fe58e26b250300db82f88dc223304bc2e7ede
parent6d9cf6e8b75fa807e07395cec79b5a1c335c70c0 (diff)
parentb7f25d512ca96b70f0476eaef3824b467dede3ad (diff)
downloadrust-31a1858a73f26be75a8c7b4189b03f47a68bf9a1.tar.gz
rust-31a1858a73f26be75a8c7b4189b03f47a68bf9a1.zip
Rollup merge of #73124 - ayushmishra2005:correction_in_explanation_of_E0207, r=petrochenkov
Removed lifetime parameters from Explanation of E0207

Removed lifetime parameters from Explanation of E0207
Fixes #62144
-rw-r--r--src/librustc_error_codes/error_codes/E0207.md4
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>`