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?
This changes the way that
std::ops::Fn::call
andstd::future::Future::poll
is detected in pdg construction to use theLangaugeItems
struct which I think is the way it's supposed to be done.In addition it will also now detect
FnMut:call_mut
andFnOnce::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?