clean up E0276 explanation

This commit is contained in:
Guillaume Gomez 2020-02-07 13:23:33 +01:00
parent 320ada6479
commit 26020f5063
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 {