Skip to content

Commit b7f25d5

Browse files
author
Ayush Kumar Mishra
committed
Removed lifetime parameters from Explanation of E0207 #62144
1 parent 7355816 commit b7f25d5

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)