Skip to content

Commit 26020f5

Browse files
clean up E0276 explanation
1 parent 320ada6 commit 26020f5

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)