diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-02-21 21:46:30 +0100 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2020-02-21 21:46:30 +0100 |
| commit | 6cc268b9efcfa6d74e20b0c95e715cb05f41b19e (patch) | |
| tree | 378667042ee41ad6036bcac919daad29f1a01dc6 | |
| parent | c60583163a9401382bda1ddcad4d3c377539866d (diff) | |
| download | rust-6cc268b9efcfa6d74e20b0c95e715cb05f41b19e.tar.gz rust-6cc268b9efcfa6d74e20b0c95e715cb05f41b19e.zip | |
Mark E0399.md as obsolete
| -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 { |
