{"ast_node_type":"other","tokens":[{"end":87,"kind":"keyword","start":0,"text":"//"}]}
        // want `/foo/bar_baz.rs` to be attributed to source root directory `/foo/bar`.
        // `path` is a file, but r-a only cares about the containing directory. We don't
        let path = path.parent().unwrap_or_else(|| path.clone());