Skip to content

Commit

Permalink
Clean up E0370 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 25, 2020
1 parent 01a8b5f commit f56042f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_error_codes/error_codes/E0370.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
The maximum value of an enum was reached, so it cannot be automatically
set in the next enum value. Erroneous code example:
set in the next enum value.

Erroneous code example:

```compile_fail,E0370
#[repr(i64)]
Expand Down

0 comments on commit f56042f

Please sign in to comment.