Module find_self_call
rustc_mir::util
Checks if the specified local is used as the self prameter of a method call in the provided BasicBlock. If it is, then the DefId of the called method is returned.
local
self
BasicBlock
DefId