Clean up E0701 explanation
This commit is contained in:
parent
228a0ed7b0
commit
65becefd4a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed
|
||||
on something other than a struct or enum.
|
||||
|
||||
Examples of erroneous code:
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0701
|
||||
#[non_exhaustive]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue