Revert const_err
lint checking of casts
#67822
Merged
const_err
lint checking of casts
#67822