From e66b18efa633fe9d0e9a0cf98d0083f55d876fae Mon Sep 17 00:00:00 2001 From: lolbinarycat Date: Sun, 17 Aug 2025 12:18:44 -0500 Subject: [PATCH] mention builtin function-like macros are part of the prelude fixes https://github.com/rust-lang/reference/issues/1834 --- src/names/preludes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/names/preludes.md b/src/names/preludes.md index 97c1ba77d..cc2586953 100644 --- a/src/names/preludes.md +++ b/src/names/preludes.md @@ -125,6 +125,9 @@ It includes the following: * [Macro namespace] * [Built-in attributes] * [Built-in derive macros][attributes.derive.built-in] + * Built-in function-like macros: `assert`, `cfg`, `column`, `compile_error`, `concat`, `env`, `file`, `format_args`, + `format_args_nl`, `include`, `include_bytes`, `include_str`, `line`, `log_syntax`, `module_path`, `option_env`, + `stringify`, `trace_macros` r[names.preludes.macro_use] ## `macro_use` prelude