Crate rustc_expand

Source

Modules§

base
build 🔒
config
Conditional compilation stripping.
errors 🔒
expand
mbe 🔒
This module implements declarative macros: old macro_rules and the newer macro. Declarative macros are also known as “macro by example”, and that’s why we call this module mbe. For external documentation, prefer the official terminology: “declarative macros”.
module
placeholders 🔒
proc_macro
proc_macro_server 🔒

Macros§

configure

Statics§

DEFAULT_LOCALE_RESOURCE
Raw content of Fluent resource for this crate, generated by fluent_messages macro, imported by rustc_driver to include all crates’ resources in one bundle.

Functions§

compile_declarative_macro
Converts a macro item into a syntax extension.