Skip to content

Conversation

@ChayimFriedman2
Copy link
Contributor

We shouldn't just assume it's always the second associated type of AsyncFnOnce.

We shouldn't just assume it's always the second associated type of `AsyncFnOnce`.
@compiler-errors
Copy link
Contributor

I don't see why not but also chalk doesn't seem like it's going to be used by salsa for very much longer... 🤔

@ChayimFriedman2
Copy link
Contributor Author

I don't see why not

Because that could change (in fact it probably did change since this code was written, since now the Output type is the first type in rust-analyzer).

but also chalk doesn't seem like it's going to be used by salsa for very much longer..

Yes, I'm doing that in fear that we might have bugs until then (but I don't know of any).

@compiler-errors
Copy link
Contributor

whoops typo, *rust-analyzer not salsa

@compiler-errors compiler-errors merged commit 4cf6975 into rust-lang:master May 27, 2025
2 of 5 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the async-fn-output branch May 27, 2025 09:54
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