Skip to content

Commit

Permalink
clean up E0276 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 7, 2020
1 parent 320ada6 commit 26020f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0276.md
@@ -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 {
Expand Down

0 comments on commit 26020f5

Please sign in to comment.