Function rustc_const_eval::const_eval::is_unstable_const_fn
source ยท pub fn is_unstable_const_fn(
tcx: TyCtxt<'_>,
def_id: DefId,
) -> Option<(Symbol, Option<Symbol>)>
Expand description
Whether the def_id
is an unstable const fn and what feature gate(s) are necessary to enable
it.