pub fn add_module_alias(&mut self, alias: Name, ident: ModuleIdent) -> Result<(), Loc> {
        let result = self.remove_module_alias_(&alias);
        self.modules
            .add(alias, (ident, /* is_implicit */ false))
            .unwrap();
        result
    }
/// Adds a module alias to the map.
/// Errors if one already bound for that alias
Adds a module alias to the map.
Errors if one already bound for that alias
Adds a module alias to the map . Errors if one already bound for that alias
pub fn add_module_alias(&mut self, alias: Name, ident: ModuleIdent) -> Result<(), Loc> {
        let result = self.remove_module_alias_(&alias);
        self.modules
            .add(alias, (ident, /* is_implicit */ false))
            .unwrap();
        result
    }
pub fn add_module_alias ( & mut self , alias : Name , ident : ModuleIdent ) -> Result < ( ) , Loc > { let result = self . remove_module_alias_ ( & alias ) ; self . modules . add ( alias , ( ident , /* is_implicit */ false ) ) . unwrap ( ) ; result }
Adds a module alias to the map.
Adds a module alias to the map .
&mut self
alias
Name
ident
ModuleIdent