Gracefully handle AnonConst in diagnostic_hir_wf_check()
#122370
Merged
AnonConst in diagnostic_hir_wf_check()
#122370