Another technique I often employ is to grep for the error message, in the case of #16486 "cannot deduce function from argument types". Once the location of where the error message is emitted, I work back from there to answer the question "why?".
Unfortunately, that resolution code is very difficult to follow and will likely require some lengthy debugging.
Mike