Skip to content

Allow usage of ensure! without an error message - #12324

Merged
fitzgen merged 1 commit into
bytecodealliance:mainfrom
fitzgen:ensure-with-no-message
Jan 12, 2026
Merged

Allow usage of ensure! without an error message#12324
fitzgen merged 1 commit into
bytecodealliance:mainfrom
fitzgen:ensure-with-no-message

Conversation

@fitzgen

@fitzgen fitzgen commented Jan 12, 2026

Copy link
Copy Markdown
Member

anyhow::ensure! does not require a message, so wasmtime_error::ensure! should not either.

`anyhow::ensure!` does not require a message, so `wasmtime_error::ensure!`
should not either.
@fitzgen
fitzgen requested a review from a team as a code owner January 12, 2026 20:41
@fitzgen
fitzgen requested review from alexcrichton and removed request for a team January 12, 2026 20:41
@fitzgen
fitzgen added this pull request to the merge queue Jan 12, 2026
Merged via the queue into bytecodealliance:main with commit 2196811 Jan 12, 2026
45 checks passed
@fitzgen
fitzgen deleted the ensure-with-no-message branch January 12, 2026 21:26
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.

2 participants