[−][src]Crate rustc_builtin_macros

This crate contains implementations of built-in macros and other code generating facilities injecting code into the crate before it is lowered to HIR.

Modules

asm
assert
cfg

The compiler code necessary to support the cfg! extension, which expands to a literal true or false based on whether the given cfg matches the current compilation environment.

cfg_accessible

Implementation of the #[cfg_accessible(path)] attribute macro.

cmdline_attrs

Attributes injected into the crate root from command line using -Z crate-attr.

compile_error
concat
concat_idents
deriving

The compiler code necessary to implement the #[derive] extensions.

env
format
format_foreign
global_allocator
global_asm

Module-level assembly support.

llvm_asm
log_syntax
proc_macro_harness
source_util
standard_library_imports
test
test_harness
trace_macros
util

Macros

path_local
path_std
pathvec_std
register_attr
register_bang
register_derive

Functions

register_builtin_macros