Improve verifier error reporting on type mismatch (NFC)
Improve verifier error reporting on type mismatch (NFC)

Before this change, it only reports expected type but not exact type, so
it's hard to troubleshoot.

PiperOrigin-RevId: 268961078

DavidNorman/tensorflow,annarev/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,renyi533/tensorflow,arborh/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,xzturn/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,gunan/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,xzturn/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,aldian/tensorflow,jhseu/tensorflow,xzturn/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,arborh/tensorflow,jhseu/tensorflow,gunan/tensorflow,annarev/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,aldian/tensorflow,gunan/tensorflow,tensorflow/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jhseu/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,annarev/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,arborh/tensorflow,sarvex/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,aldian/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,petewarden/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,aam-at/tensorflow,gunan/tensorflow,sarvex/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,yongtang/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,annarev/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,arborh/tensorflow,arborh/tensorflow,karllessard/tensorflow,annarev/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,sarvex/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,karllessard/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,renyi533/tensorflow,arborh/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,petewarden/tensorflow,aam-at/tensorflow,arborh/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,annarev/tensorflow,karllessard/tensorflow,arborh/tensorflow,aam-at/tensorflow,aldian/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,arborh/tensorflow,cxxgtxy/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,yongtang/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,tensorflow/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,adit-chandra/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,yongtang/tensorflow,karllessard/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,annarev/tensorflow,gunan/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,gunan/tensorflow,gunan/tensorflow