fn constness(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ConstnessExpand description
Checks whether a function-like definition is considered to be const.
fn constness(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ConstnessChecks whether a function-like definition is considered to be const.