Skip to content

fix: prevent crash when resolving method in trait impl with unknown t…#11656

Merged
jfecher merged 1 commit intomasterfrom
ab/trait-impl-unknown-trait-bug
Feb 23, 2026
Merged

fix: prevent crash when resolving method in trait impl with unknown t…#11656
jfecher merged 1 commit intomasterfrom
ab/trait-impl-unknown-trait-bug

Conversation

@asterite
Copy link
Collaborator

…rait

Description

Problem

Resolves #11655

Summary

Additional Context

I was trying to generate docs in AztecProtocol/aztec-packages#20747 and hit this crash.

User Documentation

Check one:

  • No user documentation needed.
  • Changes in docs/ included in this PR.
  • [For Experimental Features] Changes in docs/ to be submitted in a separate PR.

PR Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Execution Time'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: f140295 Previous: 824f568 Ratio
rollup-checkpoint-merge 0.003 s 0.002 s 1.50

This comment was automatically generated by workflow using github-action-benchmark.

CC: @TomAFrench

@asterite asterite requested a review from a team February 23, 2026 15:44
@jfecher jfecher added this pull request to the merge queue Feb 23, 2026
Merged via the queue into master with commit 7cff3a6 Feb 23, 2026
137 checks passed
@jfecher jfecher deleted the ab/trait-impl-unknown-trait-bug branch February 23, 2026 17:35
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.

Compiler crash when trait impl references incorrect trait and calls trait method on function

2 participants