Indicate E0665 is no longer emitted
This commit is contained in:
parent
eef2856eaf
commit
5ae2371ceb
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
#### Note: this error code is no longer emitted by the compiler.
|
||||
|
||||
The `Default` trait was derived on an enum.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0665
|
||||
```compile_fail
|
||||
#[derive(Default)]
|
||||
enum Food {
|
||||
Sweet,
|
||||
|
|
Loading…
Add table
Reference in a new issue