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)]