Indicate E0665 is no longer emitted

This commit is contained in:
Jacob Pratt 2021-07-08 18:26:48 -04:00
parent eef2856eaf
commit 5ae2371ceb
No known key found for this signature in database
GPG Key ID: B80E19E4662B5AA4
1 changed files with 3 additions and 1 deletions

View File

@ -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,