Clean up E0751 explanation
This commit is contained in:
parent
441fd22557
commit
d0704d5d36
@ -5,8 +5,8 @@ Erroneous code example:
|
||||
```compile_fail,E0751
|
||||
trait MyTrait {}
|
||||
impl MyTrait for i32 { }
|
||||
impl !MyTrait for i32 { }
|
||||
impl !MyTrait for i32 { } // error!
|
||||
```
|
||||
|
||||
Negative implementations are a promise that the trait will never be
|
||||
implemented for the given types.
|
||||
Negative implementations are a promise that the trait will never be implemented
|
||||
for the given types. Therefore, you can't have both at the same time!
|
||||
|
Loading…
x
Reference in New Issue
Block a user