Skip to content

fix: Make InferenceResult::binding_mode() fallible#22195

Merged
ChayimFriedman2 merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:bind-mode-opt
Apr 27, 2026
Merged

fix: Make InferenceResult::binding_mode() fallible#22195
ChayimFriedman2 merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:bind-mode-opt

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

The pattern can be missing a binding mode when there was a cycle, and the InferenceResult is empty.

This should fix the nightly releases.

The pattern can be missing a binding mode when there was a cycle, and the `InferenceResult` is empty.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 27, 2026
@lnicola
Copy link
Copy Markdown
Member

lnicola commented Apr 27, 2026

changelog fixup #22134

@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Apr 27, 2026
Merged via the queue into rust-lang:master with commit 677f2c3 Apr 27, 2026
18 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the bind-mode-opt branch April 27, 2026 12:17
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 27, 2026
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.

3 participants