From bd04c30df78a6ffc8d6b17204cf2f1e7a2a739ea Mon Sep 17 00:00:00 2001 From: Djzin Date: Sat, 14 Jan 2017 17:40:52 +0000 Subject: [PATCH] add required imports & feature --- src/librustc_data_structures/array_vec.rs | 1 + src/librustc_data_structures/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/librustc_data_structures/array_vec.rs b/src/librustc_data_structures/array_vec.rs index 9baaa44a370..c0b5b7f5173 100644 --- a/src/librustc_data_structures/array_vec.rs +++ b/src/librustc_data_structures/array_vec.rs @@ -19,6 +19,7 @@ use std::fmt; use std::mem; use std::collections::range::RangeArgument; +use std::collections::Bound::{Excluded, Included, Unbounded}; pub unsafe trait Array { type Element; diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs index 4623e52ffc2..b003cba292c 100644 --- a/src/librustc_data_structures/lib.rs +++ b/src/librustc_data_structures/lib.rs @@ -27,6 +27,7 @@ #![feature(shared)] #![feature(collections_range)] +#![feature(collections_bound)] #![feature(nonzero)] #![feature(rustc_private)] #![feature(staged_api)]