{"ast_node_type":"other","tokens":[{"end":82,"kind":"keyword","start":0,"text":"stacktrace.retain(|frame|"}]}
    stacktrace.retain(|frame| !frame.instance.def.requires_caller_location(*tcx));
    // Filter out `requires_caller_location` frames.
    let span = stacktrace.last().map(|f| f.span).unwrap_or(tcx.span);