add feature gate to some benchmarks

This commit is contained in:
Jorge Aparicio 2015-01-03 17:29:27 -05:00
parent 9aadbadb93
commit ce8f748b4c
4 changed files with 5 additions and 3 deletions

View file

@ -38,7 +38,7 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
// OF THE POSSIBILITY OF SUCH DAMAGE.
#![feature(slicing_syntax)]
#![feature(associated_types, slicing_syntax)]
use std::cmp::min;
use std::io::{BufferedWriter, File};

View file

@ -40,7 +40,7 @@
// ignore-android see #10393 #13206
#![feature(slicing_syntax)]
#![feature(associated_types, slicing_syntax)]
use std::ascii::OwnedAsciiExt;
use std::slice;

View file

@ -40,6 +40,8 @@
// no-pretty-expanded FIXME #15189
#![feature(associated_types)]
use std::sync::mpsc::channel;
use std::sync::Arc;
use std::thread::Thread;

View file

@ -40,7 +40,7 @@
// ignore-android see #10393 #13206
#![feature(slicing_syntax, unboxed_closures)]
#![feature(associated_types, slicing_syntax, unboxed_closures)]
extern crate libc;