[−][src]Function rustc_mir::transform::qualify_min_const_fn::feature_allowed
fn feature_allowed<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
feature_gate: Symbol
) -> bool
Returns true if the given feature gate is allowed within the function with the given DefId.