Skip to content

Render error#2560

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
PhoebeSzmucer:render-error
Jul 7, 2026
Merged

Render error#2560
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
PhoebeSzmucer:render-error

Conversation

@PhoebeSzmucer

Copy link
Copy Markdown
Contributor
  • Renames ParseError::highlight and ResolveError::highlight to render
  • Adds Resolve::render_error(&anyhow::Error) -> String, a convenience wrapper that calls render_anyhow_error with the right soure map (which makes the consumer code less error prone)

@PhoebeSzmucer PhoebeSzmucer requested a review from a team as a code owner July 7, 2026 08:53
@PhoebeSzmucer PhoebeSzmucer requested review from alexcrichton and removed request for a team July 7, 2026 08:53
@alexcrichton alexcrichton added this pull request to the merge queue Jul 7, 2026
Merged via the queue into bytecodealliance:main with commit 3290879 Jul 7, 2026
37 checks passed
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