Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC

clean up E0276 explanation

r? @Dylan-DPC
This commit is contained in:
Dylan DPC 2020-02-07 17:00:27 +01:00 committed by GitHub
commit 9681544f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
This error occurs when a bound in an implementation of a trait does not match
the bounds specified in the original trait. For example:
A trait implementation has stricter requirements than the trait definition.
Erroneous code example:
```compile_fail,E0276
trait Foo {