Skip to content

Conversation

@JustusAdam
Copy link
Contributor

This changes the way that std::ops::Fn::call and std::future::Future::poll is detected in pdg construction to use the LangaugeItems struct which I think is the way it's supposed to be done.

In addition it will also now detect FnMut:call_mut and FnOnce::call_once now.

I haven't added test cases for the last two. Are there test cases for Fn::call that I could model off of?

Also handles `FnMut` and `FnOnce` now
@JustusAdam
Copy link
Contributor Author

I don't understand why this CI fails btw. This doesn't seem to have anything to do with my changes

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.

1 participant