Skip to content

Commit af2931b

Browse files
Mark E0399 test as obsolete
1 parent 4d4da92 commit af2931b

File tree

1 file changed

+4
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+4
-2
lines changed

src/librustc_error_codes/error_codes/E0399.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
Note: This error code is no longer emitted by the compiler.
2+
13
You implemented a trait, overriding one or more of its associated types but did
24
not reimplement its default methods.
35

46
Example of erroneous code:
57

6-
```compile_fail,E0399
8+
```ignore
79
#![feature(associated_type_defaults)]
810
911
pub trait Foo {
@@ -20,7 +22,7 @@ impl Foo for i32 {
2022

2123
To fix this, add an implementation for each default method from the trait:
2224

23-
```
25+
```ignore
2426
#![feature(associated_type_defaults)]
2527
2628
pub trait Foo {

0 commit comments

Comments
 (0)