Function is_stable_const_fn

Source
pub fn is_stable_const_fn(
    cx: &LateContext<'_>,
    def_id: DefId,
    msrv: Msrv,
) -> bool
Expand description

Checks if the given def_id is a stable const fn, in respect to the given MSRV.