Skip to content

Commit 9681544

Browse files
authored
Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC
clean up E0276 explanation r? @Dylan-DPC
2 parents 88573a7 + 26020f5 commit 9681544

File tree

1 file changed

+3
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-2
lines changed

src/librustc_error_codes/error_codes/E0276.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
This error occurs when a bound in an implementation of a trait does not match
2-
the bounds specified in the original trait. For example:
1+
A trait implementation has stricter requirements than the trait definition.
2+
3+
Erroneous code example:
34

45
```compile_fail,E0276
56
trait Foo {

0 commit comments

Comments
 (0)