Skip to content

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Feb 10, 2026

When resolving calls like Trait::function(...) we need to take all possible implementations of function into account, which can be a very large set.

However, with #21217:

As for calls to methods, we now also always check the Self type for calls to associated non-methods f

which means that we can strictly reduce this set up front, by only looking at implementations for types that might match the Self type inferred at the call site, similar to what we already do for method calls.

DCA

Fixes timeout on ArmchairDevelopers/Glacier.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant