{"ast_node_type":"other","tokens":[{"end":63,"kind":"keyword","start":0,"text":"if"}]}
    if !matches!(ctxt.tcx.def_kind(id.owner_id), DefKind::Fn) {
fn check_and_search_item(id: ItemId, ctxt: &mut EntryContext<'_>) {
        for attr in [sym::rustc_main] {