Skip to content

Replace Some_0 with 0#449

Merged
rikosellic merged 1 commit into
asterinas:mainfrom
rikosellic:more-fix
May 13, 2026
Merged

Replace Some_0 with 0#449
rikosellic merged 1 commit into
asterinas:mainfrom
rikosellic:more-fix

Conversation

@rikosellic
Copy link
Copy Markdown
Collaborator

@rikosellic rikosellic commented May 13, 2026

During the development of the enum type inference of verus-analyzer, I realized that we never need a Some variant name when accessing the field in spec mode, because None has no fields. This PR replaces all ->Some_0 with ->0, which is much simpler and conceptually cleaner than unwrap.

@rikosellic rikosellic merged commit b687e8d into asterinas:main May 13, 2026
3 checks passed
@rikosellic rikosellic deleted the more-fix branch May 13, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant