Module syntax::config[][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 attr::HasAttrs;
use feature_gate::feature_err;
use feature_gate::EXPLAIN_STMT_ATTR_SYNTAX;
use feature_gate::Features;
use feature_gate::get_features;
use feature_gate::GateIssue;
use fold;
use attr;
use ast;
use codemap::Spanned;
use edition::Edition;
use parse::token;
use parse::ParseSess;
use ptr::P;
use util::small_vector::SmallVector;

Structs

StripUnconfigured [
Experimental
]

A folder that strips out items that do not belong in the current configuration.

Functions

features [
Experimental
]
is_cfg [
Experimental
]
is_test_or_bench [
Experimental
]