Module syntax::std_inject[][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?

Re-exports

use ast;
use attr;
use std::cell::Cell;
use ext::hygiene::Mark;
use ext::hygiene::SyntaxContext;
use symbol::Symbol;
use symbol::keywords;
use syntax_pos::DUMMY_SP;
use syntax_pos::Span;
use codemap::ExpnInfo;
use codemap::NameAndSpan;
use codemap::MacroAttribute;
use codemap::dummy_spanned;
use codemap::respan;
use ptr::P;
use tokenstream::TokenStream;

Constants

INJECTED_CRATE_NAME [
Experimental
]

Functions

ignored_span [
Experimental
]

Craft a span that will be ignored by the stability lint's call to codemap's is_internal check. The expanded code uses the unstable #[prelude_import] attribute.

injected_crate_name [
Experimental
]
maybe_inject_crates_ref [
Experimental
]