pub fn encode_query_results<'a, 'tcx, CTX, Q>(
    tcx: CTX,
    encoder: &mut CacheEncoder<'a, 'tcx>,
    query_result_index: &mut Vec<(SerializedDepNodeIndex, AbsoluteBytePos)>
)where
    CTX: QueryContext + 'tcx,
    Q: QueryDescription<CTX>,
    Q::Value: Encodable<CacheEncoder<'a, 'tcx>>,