Mark E0399.md as obsolete
This commit is contained in:
parent
c60583163a
commit
6cc268b9ef
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue