Function rustc_query_impl::make_query::is_const_fn_raw[][src]

pub fn is_const_fn_raw<'tcx>(
    tcx: QueryCtxt<'tcx>,
    key: is_const_fn_raw<'tcx>
) -> QueryStackFrame
Expand description

Returns true if this is a const fn, use the is_const_fn to know whether your crate actually sees it as const fn (e.g., the const-fn-ness might be unstable and you might not have the feature gate active).

Do not call this function manually. It is only meant to cache the base data for the is_const_fn function.