Revert const_err lint checking of casts
#67822
+18
−91
Merged