message: [compiler] change &String to &str
diff: @@ -597,7 +597,7 @@ impl ModuleName {
  }
  /// Accessor for the module name's string value
  - pub fn name_ref(&self) -> &String {
  + pub fn name_ref(&self) -> &str {
  &self.0
  }
  }
  @@ -731,7 +731,7 @@ impl StructName {
  }
  /// Accessor for the name of the struct
  - pub fn name_ref(&self) -> &String {
  + pub fn name_ref(&self) -> &str {
  &self.0
  }
  }
  @@ -785,7 +785,7 @@ impl FunctionName {
  }
  /// Accessor for the name of the function
  - pub fn name_ref(&self) -> &String {
  + pub fn name_ref(&self) -> &str {
  &self.0
  }
  }
  