{"ast_node_type":"function","tokens":[{"end":79,"kind":"keyword","start":0,"text":"pub"}]}
pub fn encode_metadata(tcx: TyCtxt<'_>, path: &Path, ref_path: Option<&Path>) {
#[instrument(level = "trace", skip(tcx))]
    // Since encoding metadata is not in a query, and nothing is cached,