[−][src]Function rustc_mir::transform::qualify_min_const_fn::lib_feature_allowed

pub fn lib_feature_allowed<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    feature_gate: Symbol
) -> bool

Returns true if the given library feature gate is allowed within the function with the given DefId.