Skip to content

Commit 8c5d794

Browse files
authored
Rollup merge of #73687 - GuillaumeGomez:cleanup-e0701, r=Dylan-DPC
Clean up E0701 explanation r? @Dylan-DPC
2 parents 7fb7765 + 65becef commit 8c5d794

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+1
-1
lines changed

src/librustc_error_codes/error_codes/E0701.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed
22
on something other than a struct or enum.
33

4-
Examples of erroneous code:
4+
Erroneous code example:
55

66
```compile_fail,E0701
77
#[non_exhaustive]

0 commit comments

Comments
 (0)