File tree 2 files changed +5
-3
lines changed
compiler/rustc_error_codes/src
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ E0184: include_str!("./error_codes/E0184.md"),
97
97
E0185 : include_str!( "./error_codes/E0185.md" ) ,
98
98
E0186 : include_str!( "./error_codes/E0186.md" ) ,
99
99
E0191 : include_str!( "./error_codes/E0191.md" ) ,
100
+ E0192 : include_str!( "./error_codes/E0192.md" ) ,
100
101
E0193 : include_str!( "./error_codes/E0193.md" ) ,
101
102
E0195 : include_str!( "./error_codes/E0195.md" ) ,
102
103
E0197 : include_str!( "./error_codes/E0197.md" ) ,
@@ -522,7 +523,6 @@ E0787: include_str!("./error_codes/E0787.md"),
522
523
// E0188, // can not cast an immutable reference to a mutable pointer
523
524
// E0189, // deprecated: can only cast a boxed pointer to a boxed object
524
525
// E0190, // deprecated: can only cast a &-pointer to an &-object
525
- // E0192, // negative impl only applicable to auto traits
526
526
// E0194, // merged into E0403
527
527
// E0196, // cannot determine a type for this closure
528
528
E0208 ,
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
A negative impl was added on a trait implementation.
2
4
3
5
Erroneous code example:
4
6
5
- ``` compile_fail,E0192
7
+ ``` compile_fail
6
8
trait Trait {
7
9
type Bar;
8
10
}
9
11
10
12
struct Foo;
11
13
12
- impl !Trait for Foo { } //~ ERROR E0192
14
+ impl !Trait for Foo { } //~ ERROR
13
15
14
16
fn main() {}
15
17
```
You can’t perform that action at this time.
0 commit comments