Function should_encode_const

Source
fn should_encode_const(def_kind: DefKind) -> bool