Make promote_consts emit the errors when required promotion fails
#65946
+27
−19
promote_consts emit the errors when required promotion fails
#65946