-
-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change NoCustomError to be an empty enum
Contrary to an empty struct, which has exactly 1 possible value, an empty enum has 0 possible values: it can't even be constructed. Fixes #3154
- Loading branch information
1 parent
7f2237b
commit 3d4b681
Showing
1 changed file
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters