Auto merge of #59974 - Centril:boostrap-to-2019-04-11, r=pietroalbini,Mark-Simulacrum

Bump bootstrap compiler to 2019-04-11

r? @pietroalbini
cc @Mark-Simulacrum
cc https://github.com/rust-lang/rust/pull/58702
This commit is contained in:
bors 2019-04-17 04:10:13 +00:00
commit 258e3b3a75
32 changed files with 30 additions and 34 deletions

View File

@ -290,9 +290,7 @@ fn main() {
}
// 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

View File

@ -13,7 +13,7 @@ use build_helper::output;
use crate::Build;
// The version number
pub const CFG_RELEASE_NUM: &str = "1.35.0";
pub const CFG_RELEASE_NUM: &str = "1.36.0";
pub struct GitInfo {
inner: Option<Info>,

View File

@ -1125,8 +1125,6 @@ impl Build {
/// `rust.save-toolstates` in `config.toml`. If unspecified, nothing will be
/// done. The file is updated immediately after this function completes.
pub fn save_toolstate(&self, tool: &str, state: ToolState) {
use std::io::{Seek, SeekFrom};
if let Some(ref path) = self.config.save_toolstates {
let mut file = t!(fs::OpenOptions::new()
.create(true)

View File

@ -12,7 +12,7 @@
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)]

View File

@ -9,7 +9,7 @@
test(attr(deny(warnings))))]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![feature(nll)]
#![feature(rustc_private)]

View File

@ -29,7 +29,7 @@
#![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)]

View File

@ -1,4 +1,4 @@
#![cfg_attr(not(stage0), allow(usage_of_ty_tykind))]
#![allow(usage_of_ty_tykind)]
pub use self::Variance::*;
pub use self::AssociatedItemContainer::*;

View File

@ -2,7 +2,7 @@
#![feature(rustc_private)]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
pub mod expand;

View File

@ -2,7 +2,7 @@
#![allow(non_camel_case_types)]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![feature(nll)]

View File

@ -14,7 +14,7 @@
#![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"]

View File

@ -16,7 +16,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#[macro_use]
extern crate rustc;

View File

@ -17,7 +17,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
pub extern crate getopts;
#[cfg(unix)]

View File

@ -6,7 +6,7 @@
#![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

View File

@ -8,7 +8,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#[macro_use] extern crate rustc;
#[allow(unused_extern_crates)]

View File

@ -7,7 +7,7 @@
#![cfg_attr(unix, feature(libc))]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![allow(unused_imports)]

View File

@ -20,7 +20,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#[macro_use]
extern crate rustc;

View File

@ -14,7 +14,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
extern crate libc;
#[allow(unused_extern_crates)]

View File

@ -28,7 +28,7 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![allow(explicit_outlives_requirements)]
#[macro_use] extern crate log;

View File

@ -12,7 +12,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#[macro_use]
extern crate rustc;

View File

@ -1,7 +1,7 @@
#![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)]

View File

@ -9,7 +9,7 @@
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
pub use rustc::hir::def::{Namespace, PerNS};

View File

@ -2,7 +2,7 @@
#![feature(custom_attribute)]
#![feature(nll)]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![allow(unused_attributes)]
#![recursion_limit="256"]

View File

@ -16,7 +16,7 @@
#![feature(step_trait)]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#[macro_use] extern crate log;

View File

@ -2,7 +2,7 @@
//! 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)]

View File

@ -71,7 +71,7 @@ This API is completely unstable and subject to change.
#![recursion_limit="256"]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![allow(explicit_outlives_requirements)]
#[macro_use] extern crate log;

View File

@ -1,5 +1,5 @@
#![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/")]

View File

@ -8,7 +8,7 @@
test(attr(deny(warnings))))]
#![deny(rust_2018_idioms)]
#![cfg_attr(not(stage0), deny(internal))]
#![deny(internal)]
#![feature(crate_visibility_modifier)]
#![feature(label_break_value)]

View File

@ -3,7 +3,7 @@
#![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)]

View File

@ -7,7 +7,7 @@
#![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)]

View File

@ -12,7 +12,7 @@
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
# `0.x.0` for Cargo where they were released on `date`.
date: 2019-03-20
date: 2019-04-11
rustc: beta
cargo: beta

View File

@ -523,6 +523,7 @@ pub fn run_tests(config: &Config) {
pub fn test_opts(config: &Config) -> test::TestOpts {
test::TestOpts {
exclude_should_panic: false,
filter: config.filter.clone(),
filter_exact: config.filter_exact,
run_ignored: if config.run_ignored {

View File

@ -7,7 +7,6 @@
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[allow(non_camel_case_types)]
pub unsafe fn raise_fd_limit() {
use libc;
use std::cmp;
use std::io;
use std::mem::size_of_val;