Rollup merge of #73687 - GuillaumeGomez:cleanup-e0701, r=Dylan-DPC
Clean up E0701 explanation r? @Dylan-DPC
This commit is contained in:
commit
8c5d794b52
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed
|
This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed
|
||||||
on something other than a struct or enum.
|
on something other than a struct or enum.
|
||||||
|
|
||||||
Examples of erroneous code:
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0701
|
```compile_fail,E0701
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue