about summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorDjzin <djzin@users.noreply.github.com>2017-01-14 17:40:52 +0000
committerDjzin <djzin@users.noreply.github.com>2017-01-14 17:40:52 +0000
commitbd04c30df78a6ffc8d6b17204cf2f1e7a2a739ea (patch)
tree3d0ed43a19e8ae9e87c450bd88c7fe7cf69476c8 /src/librustc_data_structures
parent93e6c26dcf557e4411eb033f0dd8f96401c879c6 (diff)
downloadrust-bd04c30df78a6ffc8d6b17204cf2f1e7a2a739ea.tar.gz
rust-bd04c30df78a6ffc8d6b17204cf2f1e7a2a739ea.zip
add required imports & feature
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/array_vec.rs1
-rw-r--r--src/librustc_data_structures/lib.rs1
2 files changed, 2 insertions, 0 deletions
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::slice;
 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)]