Module rustc_plugin::registry [−][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?
Used by plugin crates to tell rustc
about the plugins they provide.
Re-exports
use rustc::lint::EarlyLintPassObject; |
use rustc::lint::LateLintPassObject; |
use rustc::lint::LintId; |
use rustc::lint::Lint; |
use rustc::session::Session; |
use syntax::ext::base::SyntaxExtension; |
use syntax::ext::base::NamedSyntaxExtension; |
use syntax::ext::base::NormalTT; |
use syntax::ext::base::IdentTT; |
use syntax::ext::base::MacroExpanderFn; |
use syntax::symbol::Symbol; |
use syntax::ast; |
use syntax::feature_gate::AttributeType; |
use syntax_pos::Span; |
use std::collections::HashMap; |
use std::borrow::ToOwned; |
Structs
Registry |
[ Experimental ] Structure used to register plugins. |