rustc_const_eval::const_eval::fn_queries

Function 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.