pub fn update_fn(&mut self, func_id: FuncId, hir_func: HirFunction) {
        let def = self
            .nodes
            .get_mut(func_id.0)
            .expect("ice: all function ids should have definitions");

        let func = match def {
            Node::Function(func) => func,
            _ => panic!("ice: all function ids should correspond to a function in the interner"),
        };
        *func = hir_func;
    }
/// Updates the underlying interned Function.
///
/// This method is used as we eagerly intern empty functions to
/// generate function identifiers and then we update at a later point in
/// time.
Updates the underlying interned Function.
This method is used as we eagerly intern empty functions to
generate function identifiers and then we update at a later point in
time.
Updates the underlying interned Function . This method is used as we eagerly intern empty functions to generate function identifiers and then we update at a later point in time .
pub fn update_fn(&mut self, func_id: FuncId, hir_func: HirFunction) {
        let def = self
            .nodes
            .get_mut(func_id.0)
            .expect("ice: all function ids should have definitions");
        let func = match def {
            Node::Function(func) => func,
            _ => panic!("ice: all function ids should correspond to a function in the interner"),
        };
        *func = hir_func;
    }
pub fn update_fn ( & mut self , func_id : FuncId , hir_func : HirFunction ) { let def = self . nodes . get_mut ( func_id . 0 ) . expect ( " " ) ; let func = match def { Node :: Function ( func ) => func , _ => panic ! ( " " ) , } ; * func = hir_func ; }
Updates the underlying interned Function.
Updates the underlying interned Function .
&mut self
func_id
FuncId
hir_func
HirFunction
&mut self
func_id
FuncId
hir_func
HirFunction