/// Add the definition for a builtin resolvable name to a scope.
Add the definition for a builtin resolvable name to a scope.
Add the definition for a builtin resolvable name to a scope .
fn define_builtin(scope: &mut Scope, name: ResolvableName, def: Def) {
    scope
        .defs
        .entry(name)
        .or_insert_with(|| Vec::new())
        .push(Spanned::new(def, INVALID_SPAN));
}
fn define_builtin ( scope : & mut Scope , name : ResolvableName , def : Def ) { scope . defs . entry ( name ) . or_insert_with ( | | Vec :: new ( ) ) . push ( Spanned :: new ( def , INVALID_SPAN ) ) ; }
Add the definition for a builtin resolvable name to a scope.
Add the definition for a builtin resolvable name to a scope .
scope
&mut Scope
name
ResolvableName
def
Def