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