mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
28 lines
666 B
Rust
28 lines
666 B
Rust
// tidy-alphabetical-start
|
|
#![allow(internal_features)]
|
|
#![feature(associated_type_defaults)]
|
|
#![feature(macro_metavar_expr)]
|
|
#![feature(proc_macro_diagnostic)]
|
|
#![feature(proc_macro_internals)]
|
|
#![feature(try_blocks)]
|
|
#![feature(yeet_expr)]
|
|
// tidy-alphabetical-end
|
|
|
|
mod build;
|
|
mod errors;
|
|
mod mbe;
|
|
mod placeholders;
|
|
mod proc_macro_server;
|
|
mod stats;
|
|
|
|
pub use mbe::macro_rules::{MacroRulesMacroExpander, compile_declarative_macro};
|
|
pub mod base;
|
|
pub mod config;
|
|
pub mod expand;
|
|
pub mod module;
|
|
pub mod proc_macro;
|
|
|
|
pub fn provide(providers: &mut rustc_middle::query::Providers) {
|
|
providers.derive_macro_expansion = proc_macro::provide_derive_macro_expansion;
|
|
}
|