Skip to content

Commit

Permalink
Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC
Browse files Browse the repository at this point in the history
clean up E0276 explanation

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored Feb 7, 2020
2 parents 88573a7 + 26020f5 commit 9681544
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0276.md
Original file line number Diff line number Diff line change
@@ -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 9681544

Please sign in to comment.