Skip to content

Commit

Permalink
Rollup merge of #73687 - GuillaumeGomez:cleanup-e0701, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Clean up E0701 explanation

r? @Dylan-DPC
  • Loading branch information
Manishearth authored Jun 26, 2020
2 parents 7fb7765 + 65becef commit 8c5d794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_error_codes/error_codes/E0701.md
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 8c5d794

Please sign in to comment.