Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: Some method resolution cleanups #16749

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Mar 4, 2024

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 4, 2024
@Veykril Veykril force-pushed the on-demand-validation-err branch 2 times, most recently from ad25dae to b05a197 Compare March 5, 2024 12:19
@@ -438,6 +438,7 @@ impl<'a> InferenceTable<'a> {
where
T: HasInterner<Interner = Interner> + TypeFoldable<Interner>,
{
// TODO check this vec here
Copy link
Contributor

Choose a reason for hiding this comment

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

what sort of check would happen here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh that was a note to myself to check if we can cache the allocation for that vec here

@davidbarsky
Copy link
Contributor

When I tried this out yesterday, this yield a ~10ms improvement on completions!

@Veykril
Copy link
Member Author

Veykril commented Mar 5, 2024

Hopefully the saves don't come from fcc246e as that is likely to be invalid

@Veykril
Copy link
Member Author

Veykril commented Mar 11, 2024

Dropped fcc246e for now as it fails the test I've added after.

@Veykril
Copy link
Member Author

Veykril commented Mar 11, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 11, 2024

📌 Commit c679482 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Mar 11, 2024

⌛ Testing commit c679482 with merge a5035f4...

@bors
Copy link
Collaborator

bors commented Mar 11, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing a5035f4 to master...

@bors bors merged commit a5035f4 into rust-lang:master Mar 11, 2024
11 checks passed
bors added a commit that referenced this pull request Mar 11, 2024
fix: Fix method resolution snapshotting receiver_ty too early

Accidental change in #16749 presumably caused some type mismatches in webrender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants