🔬This is a nightly-only experimental API. (
prelude_2024)Expand description
The 2024 version of the core prelude.
See the module-level documentation for more.
Macros§
- assert
Experimental Asserts that a boolean expression istrueat runtime. - cfg
Experimental Evaluates boolean combinations of configuration flags at compile-time. - column
Experimental Expands to the column number at which it was invoked. - compile_
error Experimental Causes compilation to fail with the given error message when encountered. - concat
Experimental Concatenates literals into a static string slice. - concat_
bytes Experimental Concatenates literals into a byte slice. - concat_
idents Experimental Concatenates identifiers into one identifier. - deref
Experimental Unstable placeholder for deref patterns. - env
Experimental Inspects an environment variable at compile time. - file
Experimental Expands to the file name in which it was invoked. - format_
args Experimental<