Function rustc_query_impl::make_query::const_param_default[][src]

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

Given the def_id of a const-generic parameter, computes the associated default const parameter. e.g. fn example<const N: usize=3> called on N would return 3.