}
// This is required for internal lints.
- if stage != "0" {
- cmd.arg("-Zunstable-options");
- }
+ cmd.arg("-Zunstable-options");
// Force all crates compiled by this compiler to (a) be unstable and (b)
// allow the `rustc_private` feature to link to other unstable crates
test(no_crate_inject, attr(deny(warnings))))]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(core_intrinsics)]
#![feature(dropck_eyepatch)]
test(attr(deny(warnings))))]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(nll)]
#![feature(rustc_private)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![allow(explicit_outlives_requirements)]
#![feature(arbitrary_self_types)]
-#![cfg_attr(not(stage0), allow(usage_of_ty_tykind))]
+#![allow(usage_of_ty_tykind)]
pub use self::Variance::*;
pub use self::AssociatedItemContainer::*;
#![feature(rustc_private)]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
pub mod expand;
#![allow(non_camel_case_types)]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(nll)]
#![allow(unused_attributes)]
#![allow(dead_code)]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![allow(explicit_outlives_requirements)]
#![recursion_limit="256"]
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#[macro_use]
extern crate rustc;
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
pub extern crate getopts;
#[cfg(unix)]
#![feature(nll)]
#![feature(optin_builtin_traits)]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#[allow(unused_extern_crates)]
extern crate serialize as rustc_serialize; // used by deriving
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#[macro_use] extern crate rustc;
#[allow(unused_extern_crates)]
#![cfg_attr(unix, feature(libc))]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![allow(unused_imports)]
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#[macro_use]
extern crate rustc;
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
extern crate libc;
#[allow(unused_extern_crates)]
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![allow(explicit_outlives_requirements)]
#[macro_use] extern crate log;
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#[macro_use]
extern crate rustc;
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(nll)]
#![feature(rustc_diagnostic_macros)]
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
pub use rustc::hir::def::{Namespace, PerNS};
#![feature(custom_attribute)]
#![feature(nll)]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![allow(unused_attributes)]
#![recursion_limit="256"]
#![feature(step_trait)]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#[macro_use] extern crate log;
//! the guts are broken up into modules; see the comments in those modules.
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(crate_visibility_modifier)]
#![feature(in_band_lifetimes)]
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![allow(explicit_outlives_requirements)]
#[macro_use] extern crate log;
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
html_playground_url = "https://play.rust-lang.org/")]
test(attr(deny(warnings))))]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(crate_visibility_modifier)]
#![feature(label_break_value)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(in_band_lifetimes)]
#![feature(proc_macro_diagnostic)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
#![deny(rust_2018_idioms)]
-#![cfg_attr(not(stage0), deny(internal))]
+#![deny(internal)]
#![feature(const_fn)]
#![feature(crate_visibility_modifier)]