9

feat: show signature help when calling generic types implementing `FnOnce` by jo...

 2 years ago
source link: https://github.com/rust-lang/rust-analyzer/pull/13525
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Conversation

This queries chalk for the FnOnce impl of callees and takes argument and return types from there, making generic Callables available to the IDE. This makes signature help work for them, and potentially allows other features to take generic callables into account in the future.

All reactions

Member

Author

jonas-schievink commented Nov 1, 2022

@bors r+

Collaborator

bors commented Nov 1, 2022

pushpin Commit ecad1a9 has been approved by jonas-schievink

It is now in the queue for this repository.

Collaborator

bors commented Nov 1, 2022

hourglass Testing commit ecad1a9 with merge c1305fa...

Collaborator

bors commented Nov 1, 2022

sunny Test successful - checks-actions
Approved by: jonas-schievink
Pushing c1305fa to master...

bors

merged commit c1305fa into

rust-lang:master

Nov 1, 2022

9 checks passed

jonas-schievink

deleted the generic-call-signature branch

Nov 1, 2022

Member

lnicola commented Nov 7, 2022

edited

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

lnicola

Assignees

No one assigned

Labels
None yet
Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

None yet

3 participants

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK