diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs index e9c5f1d4a8bf..ddcf3addf398 100644 --- a/src/libcore/ops/range.rs +++ b/src/libcore/ops/range.rs @@ -702,6 +702,7 @@ impl Bound<&T> { /// # Examples /// /// ``` + /// #![feature(bound_cloned)] /// use std::ops::Bound::*; /// use std::ops::RangeBounds; /// diff --git a/src/libcore/tests/lib.rs b/src/libcore/tests/lib.rs index c617596aba80..7465ef4a44e2 100644 --- a/src/libcore/tests/lib.rs +++ b/src/libcore/tests/lib.rs @@ -1,3 +1,4 @@ +#![feature(bound_cloned)] #![feature(box_syntax)] #![feature(cell_update)] #![feature(core_private_bignum)]