mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC
clean up E0276 explanation r? @Dylan-DPC
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user