#![feature(box_syntax)]
#![cfg_attr(stage0, feature(macro_vis_matcher))]
#![cfg_attr(not(stage0), feature(nll))]
-#![cfg_attr(not(stage0), feature(infer_outlives_requirements))]
#![feature(quote)]
#![feature(rustc_diagnostic_macros)]
#![feature(macro_at_most_once_rep)]
+#[macro_use]
extern crate syntax;
#[macro_use]
extern crate rustc;
use lint::LintId;
use lint::FutureIncompatibleInfo;
+mod diagnostics;
mod nonstandard_style;
pub mod builtin;
mod types;
macro_rules! add_pre_expansion_builtin {
($sess:ident, $($name:ident),*,) => (
{$(
- store.register_early_pass($sess, false, box $name);
+ store.register_pre_expansion_pass($sess, box $name);
)*}
)
}
MutableTransmutes: MutableTransmutes,
UnionsWithDropFields: UnionsWithDropFields,
UnreachablePub: UnreachablePub,
- UnnameableTestFunctions: UnnameableTestFunctions,
+ UnnameableTestItems: UnnameableTestItems::new(),
TypeAliasBounds: TypeAliasBounds,
UnusedBrokenConst: UnusedBrokenConst,
TrivialConstraints: TrivialConstraints,