]> git.lizzy.rs Git - rust.git/commitdiff
Removed lifetime parameters from Explanation of E0207 #62144
authorAyush Kumar Mishra <ayush.k.mishra@xcelenergy.com>
Mon, 8 Jun 2020 11:45:48 +0000 (17:15 +0530)
committerAyush Kumar Mishra <ayush.k.mishra@xcelenergy.com>
Mon, 8 Jun 2020 11:45:48 +0000 (17:15 +0530)
src/librustc_error_codes/error_codes/E0207.md

index 21e7e461c753b3a347b59ada90de27d53fbe4af2..cb4f5d5157d9bf6c629f870d13bee250b3c0d59e 100644 (file)
@@ -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>`