mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 13:43:04 +00:00
Indicate E0665 is no longer emitted
This commit is contained in:
parent
eef2856eaf
commit
5ae2371ceb
@ -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…
Reference in New Issue
Block a user