pub fn as_str(&self) -> &'static str {
        match self {
            ModuleDefId::FunctionId(_) => "function",
            ModuleDefId::ModuleId(_) => "module",
        }
    }
// XXX: We are still allocating fro error reporting even though strings are stored in binary
// It is a minor performance issue, which can be addressed by having the error reporting, not allocate
We are still allocating fro error reporting even though strings are stored in binary
It is a minor performance issue, which can be addressed by having the error reporting, not allocate
We are still allocating fro error reporting even though strings are stored in binary It is a minor performance issue which can be addressed by having the error reporting not allocate
pub fn as_str(&self) -> &'static str {
        match self {
            ModuleDefId::FunctionId(_) => "function",
            ModuleDefId::ModuleId(_) => "module",
        }
    }
pub fn as_str ( & self ) -> & ' static str { match self { ModuleDefId :: FunctionId ( _ ) => " " , ModuleDefId :: ModuleId ( _ ) => " " , } }
XXX: We are still allocating fro error reporting even though strings are stored in binary
It is a minor performance issue, which can be addressed by having the error reporting, not allocate
XXX : We are still allocating fro error reporting even though strings are stored in binary It is a minor performance issue which can be addressed by having the error reporting not allocate
&self
&self