Function rustc_query_impl::make_query::generator_kind[−][src]

pub fn generator_kind<'tcx>(
    tcx: QueryCtxt<'tcx>,
    key: generator_kind<'tcx>
) -> QueryStackFrame

Returns Some(generator_kind) if the node pointed to by def_id is a generator.