Properly display type restrictions in error message when no overload could be selected