Add explicit hint for generic call#13715
Merged
Merged
Conversation
This fixes compilation with the new trait solver (probably an upstream bug, haven't checked, but this is a trivial workaround). See compilation failure here: rust-lang/rust#157590 (comment)
Member
|
Makes sense to me, but I'll wait for someone with more experience with this code to sign off. @Mark-Simulacrum we can definitely do a patch release for this, yeah. How urgently do you need that? @alexcrichton is on PTO this week, but if it's urgent I'll reach out to other maintainers |
pchickey
approved these changes
Jun 23, 2026
Contributor
|
@Mark-Simulacrum can you please make a PR cherry-picking the squashed commit of this onto the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes compilation with the new trait solver (probably an upstream
bug, haven't checked, but this is a trivial workaround). See compilation
failure here: rust-lang/rust#157590 (comment).
This hinting is already present for other calls to the same function (search for
add_to_linker_instance::in the edited file).If possible, it would be great to get this released in a patch release of v46.