Skip to content

Commit 31a1858

Browse files
authored
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
2 parents 6d9cf6e + b7f25d5 commit 31a1858

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-2
lines changed

src/librustc_error_codes/error_codes/E0207.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A type or lifetime parameter that is specified for `impl` is not constrained.
1+
A type parameter that is specified for `impl` is not constrained.
22

33
Erroneous code example:
44

@@ -14,7 +14,7 @@ impl<T: Default> Foo {
1414
}
1515
```
1616

17-
Any type parameter or lifetime parameter of an `impl` must meet at least one of
17+
Any type parameter parameter of an `impl` must meet at least one of
1818
the following criteria:
1919

2020
- it appears in the _implementing type_ of the impl, e.g. `impl<T> Foo<T>`

0 commit comments

Comments
 (0)