Make need_type_info_err
more conservative
#73027
Merged
need_type_info_err
more conservative
#73027