pub fn declare(&mut self, name: Spanned<DefName>, def: Def) {
        assert!(def.node_id() != Default::default());
        self.defs
            .entry(name.value)
            .or_insert_with(|| Vec::new())
            .push((name.span, def));
    }
/// Declare a name that can be bound to in this scope.
Declare a name that can be bound to in this scope.
Declare a name that can be bound to in this scope .
pub fn declare(&mut self, name: Spanned<DefName>, def: Def) {
        assert!(def.node_id() != Default::default());
        self.defs
            .entry(name.value)
            .or_insert_with(|| Vec::new())
            .push((name.span, def));
    }
pub fn declare ( & mut self , name : Spanned < DefName > , def : Def ) { assert ! ( def node_id ( ) Default default ( ) ) ; self . defs . entry ( name . value ) . or_insert_with ( | | Vec :: new ( ) ) . push ( ( name . span , def ) ) ; }
Declare a name that can be bound to in this scope.
Declare a name that can be bound to in this scope .
&mut self
name
Spanned<DefName>
def
Def
&mut self
name
Spanned<DefName>
def
Def