Skip to content

Commit

Permalink
Indicate E0665 is no longer emitted
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Jul 27, 2021
1 parent eef2856 commit 5ae2371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/rustc_error_codes/src/error_codes/E0665.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 5ae2371

Please sign in to comment.