提交 b7f25d51 编写于 作者: A Ayush Kumar Mishra

Removed lifetime parameters from Explanation of E0207 #62144

上级 73558160
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>`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册