Names of macros that produce a `String` value. */
| 181 | |
| 182 | /* Names of macros that produce a `String` value. */ |
| 183 | static bool is_string_macro(const char *name) { |
| 184 | if (!name) { |
| 185 | return false; |
| 186 | } |
| 187 | return strcmp(name, "format") == 0 || strcmp(name, "concat") == 0 || |
| 188 | strcmp(name, "stringify") == 0 || strcmp(name, "env") == 0 || |
| 189 | strcmp(name, "include_str") == 0; |
| 190 | } |
| 191 | |
| 192 | /* Prelude trait names whose method short-names we treat as universally |
| 193 | * available (for emit-on-best-effort when we cannot pin down the trait |
no outgoing calls
no test coverage detected