1
Fork 0

removed dyn_trait feature from tests

This commit is contained in:
Christian Poveda 2018-04-12 16:54:17 -05:00
parent 199ee32773
commit c86f1c8cc3
17 changed files with 5 additions and 17 deletions

View file

@ -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

View file

@ -11,7 +11,6 @@
// compile-flags: -Z borrowck=mir
#![allow(dead_code)]
#![feature(dyn_trait)]
use std::fmt::Debug;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -15,7 +15,6 @@
// Iterator>::Item`, to be exact).
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
trait Anything { }

View file

@ -11,7 +11,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
trait Anything { }

View file

@ -25,7 +25,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::cell::Cell;

View file

@ -17,7 +17,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::cell::Cell;

View file

@ -16,7 +16,6 @@
// compile-pass
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::cell::Cell;

View file

@ -18,7 +18,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::cell::Cell;

View file

@ -11,7 +11,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::cell::Cell;

View file

@ -11,7 +11,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::fmt::Debug;

View file

@ -15,7 +15,6 @@
// compile-flags:-Zborrowck=mir -Zverbose
#![allow(warnings)]
#![feature(dyn_trait)]
#![feature(rustc_attrs)]
use std::cell::Cell;

View file

@ -15,7 +15,6 @@
#![feature(nll)]
#![allow(warnings)]
#![feature(dyn_trait)]
use std::cell::Cell;

View file

@ -14,7 +14,6 @@
// function body.
#![allow(warnings)]
#![feature(dyn_trait)]
use std::cell::Cell;

View file

@ -11,7 +11,6 @@
// compile-flags:-Zborrowck=mir
#![allow(warnings)]
#![feature(dyn_trait)]
use std::fmt::Debug;