rustc_const_eval::check_consts::post_drop_elaboration

Function checking_enabled

Source
pub fn checking_enabled(ccx: &ConstCx<'_, '_>) -> bool
Expand description

Returns true if we should use the more precise live drop checker that runs after drop elaboration.