Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
the8472
65 days ago
|
parent
|
context
|
favorite
| on:
Rust errors without dependencies
Having private variants and fields would be useful, yeah. Std cheats a bit with its ErrorKind::Uncategorized unstable+hidden variant to have something unmatchable.
IshKebab
64 days ago
[–]
Probably because non-exhaustive enums didn't exist when it was written?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: