1
Fork 0

Mark E0399.md as obsolete

This commit is contained in:
Jonas Schievink 2020-02-21 21:46:30 +01:00
parent c60583163a
commit 6cc268b9ef

View file

@ -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 You implemented a trait, overriding one or more of its associated types but did
not reimplement its default methods. not reimplement its default methods.
Example of erroneous code: Example of erroneous code:
```ignore ```
#![feature(associated_type_defaults)] #![feature(associated_type_defaults)]
pub trait Foo { pub trait Foo {
@ -22,7 +22,7 @@ impl Foo for i32 {
To fix this, add an implementation for each default method from the trait: To fix this, add an implementation for each default method from the trait:
```ignore ```
#![feature(associated_type_defaults)] #![feature(associated_type_defaults)]
pub trait Foo { pub trait Foo {