Crate syntax_ext[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Syntax extensions in the Rust compiler.

Re-exports

extern crate std;
extern crate fmt_macros;
extern crate syntax;
extern crate syntax_pos;
extern crate proc_macro;
extern crate rustc_data_structures;
extern crate rustc_errors as errors;
extern crate rustc_target;
use std::prelude::v1::*;
use rustc_data_structures::sync::Lrc;
use syntax::ast;
use syntax::ext::base::MacroExpanderFn;
use syntax::ext::base::NormalTT;
use syntax::ext::base::NamedSyntaxExtension;
use syntax::symbol::Symbol;

Modules

asm [
Experimental
]
assert [
Experimental
]
cfg [
Experimental
]
compile_error [
Experimental
]
concat [
Experimental
]
concat_idents [
Experimental
]
deriving [
Experimental
]

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

diagnostics [
Experimental
]
env [
Experimental
]
format [
Experimental
]
format_foreign [
Experimental
]
global_asm [
Experimental
]
log_syntax [
Experimental
]
proc_macro_impl [
Experimental
]
proc_macro_registrar [
Experimental
]
trace_macros [
Experimental
]

Macros

path_local [
Experimental
]
path_std [
Experimental
]
pathvec_std [
Experimental
]

Functions

register_builtins [
Experimental
]