/// Initializes the `ast::NodeId` to `HirId` mapping once it has been generated during
/// AST to HIR lowering.
Initializes the `ast::NodeId` to `HirId` mapping once it has been generated during
AST to HIR lowering.
Initializes the ` ast :: NodeId ` to ` HirId ` mapping once it has been generated during AST to HIR lowering .
pub fn init_node_id_to_hir_id_mapping(&mut self,
                                          mapping: IndexVec<ast::NodeId, hir::HirId>) {
        assert!(self.node_to_hir_id.is_empty(),
                "trying to initialize `NodeId` -> `HirId` mapping twice");
        self.node_to_hir_id = mapping;
    }
pub fn init_node_id_to_hir_id_mapping ( & mut self , mapping : IndexVec < ast :: NodeId , hir :: HirId > ) { assert ! ( self node_to_hir_id is_empty ( ) " " ) ; self . node_to_hir_id = mapping ; }
Initializes the `ast::NodeId` to `HirId` mapping once it has been generated during
AST to HIR lowering.
Initializes the ` ast :: NodeId ` to ` HirId ` mapping once it has been generated during AST to HIR lowering .
&mut self
mapping
IndexVec<ast::NodeId, hir::HirId>