diff options
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0399.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_error_codes/error_codes/E0399.md b/src/librustc_error_codes/error_codes/E0399.md index 55e1774d9ca..6ea6054b417 100644 --- a/src/librustc_error_codes/error_codes/E0399.md +++ b/src/librustc_error_codes/error_codes/E0399.md @@ -1,11 +1,11 @@ -Note: This error code is no longer emitted by the compiler. +#### Note: this error code is no longer emitted by the compiler You implemented a trait, overriding one or more of its associated types but did not reimplement its default methods. Example of erroneous code: -```ignore +``` #![feature(associated_type_defaults)] pub trait Foo { @@ -22,7 +22,7 @@ impl Foo for i32 { To fix this, add an implementation for each default method from the trait: -```ignore +``` #![feature(associated_type_defaults)] pub trait Foo { |
