We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441fd22 commit d0704d5Copy full SHA for d0704d5
src/librustc_error_codes/error_codes/E0751.md
@@ -5,8 +5,8 @@ Erroneous code example:
5
```compile_fail,E0751
6
trait MyTrait {}
7
impl MyTrait for i32 { }
8
-impl !MyTrait for i32 { }
+impl !MyTrait for i32 { } // error!
9
```
10
11
-Negative implementations are a promise that the trait will never be
12
-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!
0 commit comments