Open
Description
Bang macros
- asm Implement
asm!
macro #1566 - assert Implement
assert!()
macro #1998 - cfg
- column Added column!() macro #1004
- compile_error
- concat_bytes
- concat_idents
- concat
- env
- file
- format_args_nl
- format_args
- const_format_args
- global_asm
- include_bytes
- include_str
- include
- line Add line!() macro #989
- log_syntax
- module_path
- option_env
- core_panic
- std_panic
- unreachable
- stringify
- trace_macros
Attribute macros
- bench
- cfg_accessible
- cfg_eval
- derive
- global_allocator
- test
- test_case
Derive macros
- Clone #2996
- Copy #2995
- Debug #2994
- Default #2993
- Eq #2992
- Hash #2991
- Ord #2990
- PartialEq #2989
- PartialOrd #2988
- RustcDecodable
- RustcEncodable
Directly taken from https://github.com/rust-lang/rust/blob/a240ccd81c74c105b6f5fe84c46f8d36edb7e306/compiler/rustc_builtin_macros/src/lib.rs#L52-L119
Thanks a lot to @bjorn3 for the corrections
Builtin macros which are declared and/or used in libcore 1.49:
- format_args
- format_args_nl
- RustcDecodable
- RustcEncodable
- cfg_accessible
- global_allocator
- test
- test_case
- bench
- option_env
- concat_idents
- module_path
- asm
- llvm_asm
- global_asm
- log_syntax
- trace_macros
Metadata
Assignees
Type
Projects
Status
Todo
Status
Todo