/// Create new empty definition map.
Create new empty definition map.
Create new empty definition map .
pub fn new() -> Definitions {
        Definitions {
            table: DefPathTable {
                index_to_key: [vec![], vec![]],
                def_path_hashes: [vec![], vec![]],
            },
            node_to_def_index: NodeMap(),
            def_index_to_node: [vec![], vec![]],
            node_to_hir_id: IndexVec::new(),
            parent_modules_of_macro_defs: FxHashMap(),
            expansions_that_defined: FxHashMap(),
            next_disambiguator: FxHashMap(),
            def_index_to_span: FxHashMap(),
        }
    }
pub fn new ( ) -> Definitions { Definitions { table : DefPathTable { index_to_key : [ vec ! [ ] , vec ! [ ] ] , def_path_hashes : [ vec ! [ ] , vec ! [ ] ] , } , node_to_def_index : NodeMap ( ) , def_index_to_node : [ vec ! [ ] , vec ! [ ] ] , node_to_hir_id : IndexVec :: new ( ) , parent_modules_of_macro_defs : FxHashMap ( ) , expansions_that_defined : FxHashMap ( ) , next_disambiguator : FxHashMap ( ) , def_index_to_span : FxHashMap ( ) , } }
Create new empty definition map.
Create new empty definition map .