Module std::macros::builtin[src]
Built-in macros to the compiler itself.
These macros do not have any corresponding definition with a macro_rules!
macro, but are documented here. Their implementations can be found hardcoded
into libsyntax itself.
Macros
| bytes! | Concatenate literals into a static byte slice. |
| cfg! | Boolean evaluation of configuration flags. |
| col! | A macro which expands to the column number on which it was invoked. |
| concat! | Concatenates literals into a static string slice. |
| concat_idents! | Concatenate identifiers into one identifier. |
| env! | Inspect an environment variable at compile time. |
| file! | A macro which expands to the file name from which it was invoked. |
| format_args! | The core macro for formatted string creation & output. |
| include_bin! | Includes a file as a byte slice. |
| include_str! | Includes a utf8-encoded file as a string. |
| line! | A macro which expands to the line number on which it was invoked. |
| module_path! | Expands to a string that represents the current module path. |
| option_env! | Optionally inspect an environment variable at compile time. |
| stringify! | A macro which stringifies its argument. |