sprinkle feature gates here and there
This commit is contained in:
parent
0f02309e4b
commit
aa7fe93d4a
@ -15,6 +15,7 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(str_char)]
|
||||
#![feature(test)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
|
@ -77,6 +77,7 @@
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
@ -295,6 +295,7 @@
|
||||
#![cfg_attr(not(stage0), deny(warnings))]
|
||||
|
||||
#![feature(str_escape)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
use self::LabelText::*;
|
||||
|
||||
|
@ -125,6 +125,7 @@
|
||||
#![feature(copy_from_slice)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#![cfg_attr(test, feature(test))]
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(str_char)]
|
||||
#![feature(question_mark)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
|
||||
extern crate arena;
|
||||
|
@ -38,6 +38,7 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(step_by)]
|
||||
#![feature(question_mark)]
|
||||
#![cfg_attr(unix, feature(static_mutex))]
|
||||
#![cfg_attr(test, feature(test, rand))]
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate syntax;
|
||||
|
@ -30,6 +30,7 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(set_stdio)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate flate;
|
||||
|
@ -33,6 +33,7 @@
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(str_char)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate serialize;
|
||||
#[macro_use]
|
||||
|
@ -23,6 +23,7 @@
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate syntax;
|
||||
|
@ -23,6 +23,7 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
|
||||
#![feature(box_patterns)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
extern crate graphviz as dot;
|
||||
|
@ -36,6 +36,7 @@
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(unicode)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate flate;
|
||||
|
@ -81,6 +81,7 @@ This API is completely unstable and subject to change.
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate syntax;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#![feature(std_panic)]
|
||||
#![feature(test)]
|
||||
#![feature(unicode)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate getopts;
|
||||
|
@ -34,6 +34,7 @@ Core encoding and decoding interfaces.
|
||||
#![feature(staged_api)]
|
||||
#![feature(str_char)]
|
||||
#![feature(unicode)]
|
||||
#![feature(question_mark)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
|
||||
// test harness access
|
||||
|
@ -270,6 +270,7 @@
|
||||
#![feature(unwind_attributes)]
|
||||
#![feature(vec_push_all)]
|
||||
#![feature(zero_one)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
// Issue# 30592: Systematically use alloc_system during stage0 since jemalloc
|
||||
// might be unavailable or disabled
|
||||
|
@ -32,6 +32,7 @@
|
||||
#![feature(str_char)]
|
||||
#![feature(str_escape)]
|
||||
#![feature(unicode)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate serialize;
|
||||
extern crate term;
|
||||
|
@ -59,6 +59,7 @@
|
||||
#![cfg_attr(windows, feature(libc))]
|
||||
// Handle rustfmt skips
|
||||
#![feature(custom_attribute)]
|
||||
#![feature(question_mark)]
|
||||
#![allow(unused_attributes)]
|
||||
|
||||
use std::io::prelude::*;
|
||||
|
@ -40,6 +40,7 @@
|
||||
#![feature(rustc_private)]
|
||||
#![feature(set_stdio)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate getopts;
|
||||
extern crate term;
|
||||
|
@ -14,6 +14,7 @@
|
||||
#![allow(unused_must_use)]
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
use std::fmt::{self, Write};
|
||||
use std::usize;
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(question_mark)]
|
||||
|
||||
use std::fs::File;
|
||||
use std::io::{self, BufReader, Read};
|
||||
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(question_mark)]
|
||||
|
||||
use std::default::Default;
|
||||
use std::io;
|
||||
use std::fs;
|
||||
|
@ -11,6 +11,8 @@
|
||||
// Regression test for #21400 which itself was extracted from
|
||||
// stackoverflow.com/questions/28031155/is-my-borrow-checker-drunk/28031580
|
||||
|
||||
#![feature(question_mark)]
|
||||
|
||||
fn main() {
|
||||
let mut t = Test;
|
||||
assert_eq!(t.method1("one"), Ok(1));
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(rustc_private, rustdoc)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate syntax;
|
||||
extern crate rustdoc;
|
||||
|
@ -13,6 +13,7 @@
|
||||
#![feature(iter_arith)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(rustdoc)]
|
||||
#![feature(question_mark)]
|
||||
|
||||
extern crate rustdoc;
|
||||
extern crate rustc_back;
|
||||
|
Loading…
Reference in New Issue
Block a user