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
Dylan-DPC authored Jun 25, 2020
2 parents da1e916 + 65becef commit e5a37fc
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 e5a37fc

Please sign in to comment.