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,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…
Reference in New Issue
Block a user