Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC
clean up E0276 explanation r? @Dylan-DPC
This commit is contained in:
commit
9681544f38
@ -1,5 +1,6 @@
|
|||||||
This error occurs when a bound in an implementation of a trait does not match
|
A trait implementation has stricter requirements than the trait definition.
|
||||||
the bounds specified in the original trait. For example:
|
|
||||||
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0276
|
```compile_fail,E0276
|
||||||
trait Foo {
|
trait Foo {
|
||||||
|
Loading…
Reference in New Issue
Block a user