Add missing E0192 in the error code listing
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
#### Note: this error code is no longer emitted by the compiler.
|
||||
|
||||
A negative impl was added on a trait implementation.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0192
|
||||
```compile_fail
|
||||
trait Trait {
|
||||
type Bar;
|
||||
}
|
||||
|
||||
struct Foo;
|
||||
|
||||
impl !Trait for Foo { } //~ ERROR E0192
|
||||
impl !Trait for Foo { } //~ ERROR
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user