removed dyn_trait feature from tests
This commit is contained in:
parent
199ee32773
commit
c86f1c8cc3
17 changed files with 5 additions and 17 deletions
|
@ -10,7 +10,9 @@
|
|||
|
||||
//! A simple test for testing many permutations of allowedness of
|
||||
//! impl Trait
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
#![feature(conservative_impl_trait, universal_impl_trait)]
|
||||
|
||||
use std::fmt::Debug;
|
||||
|
||||
// Allowed
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags: -Z borrowck=mir
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
use std::fmt::Debug;
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(dyn_trait)]
|
||||
#![allow(bare_trait_object)]
|
||||
|
||||
struct Foo;
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
// ignore-pretty `dyn ::foo` parses differently in the current edition
|
||||
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
use std::fmt::Display;
|
||||
|
||||
static BYTE: u8 = 33;
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(conservative_impl_trait, universal_impl_trait)]
|
||||
|
||||
use std::fmt::Debug;
|
||||
use std::option;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
// Iterator>::Item`, to be exact).
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
trait Anything { }
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
trait Anything { }
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
// compile-pass
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::fmt::Debug;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
// compile-flags:-Zborrowck=mir -Zverbose
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#![feature(nll)]
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
// function body.
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags:-Zborrowck=mir
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(dyn_trait)]
|
||||
|
||||
use std::fmt::Debug;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue