Skip to content

Commit

Permalink
Rollup merge of rust-lang#73687 - GuillaumeGomez:cleanup-e0701, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Clean up E0701 explanation

r? @Dylan-DPC
  • Loading branch information
Manishearth authored Jun 26, 2020
2 parents f16d62c + 65becef commit 351486a
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 351486a

Please sign in to comment.