pub fn add_implicit_module_alias(
        &mut self,
        alias: Name,
        ident: ModuleIdent,
    ) -> Result<(), Loc> {
        let result = self.remove_module_alias_(&alias);
        self.modules
            .add(alias, (ident, /* is_implicit */ true))
            .unwrap();
        result
    }
/// Same as `add_module_alias` but it does not update the scope, and as such it will not be
/// reported as unused
Same as `add_module_alias` but it does not update the scope, and as such it will not be
reported as unused
Same as ` add_module_alias ` but it does not update the scope and as such it will not be reported as unused
pub fn add_implicit_module_alias(
        &mut self,
        alias: Name,
        ident: ModuleIdent,
    ) -> Result<(), Loc> {
        let result = self.remove_module_alias_(&alias);
        self.modules
            .add(alias, (ident, /* is_implicit */ true))
            .unwrap();
        result
    }
pub fn add_implicit_module_alias ( & mut self , alias : Name , ident : ModuleIdent , ) -> Result < ( ) , Loc > { let result = self . remove_module_alias_ ( & alias ) ; self . modules . add ( alias , ( ident , /* is_implicit */ true ) ) . unwrap ( ) ; result }
Same as `add_module_alias` but it does not update the scope, and as such it will not be
reported as unused
Same as ` add_module_alias ` but it does not update the scope and as such it will not be reported as unused
&mut self
alias
Name
ident
ModuleIdent