]> git.lizzy.rs Git - rust.git/commitdiff
Enable feature bound_cloned for tests
authorChris Gregory <czipperz@gmail.com>
Sun, 2 Jun 2019 05:39:13 +0000 (22:39 -0700)
committerChris Gregory <czipperz@gmail.com>
Sun, 2 Jun 2019 05:39:13 +0000 (22:39 -0700)
src/libcore/ops/range.rs
src/libcore/tests/lib.rs

index e9c5f1d4a8bfafc1ec613b0749ac1243f0f4b49f..ddcf3addf398f214b4cc5d96ea75e660947eb903 100644 (file)
@@ -702,6 +702,7 @@ impl<T: Clone> Bound<&T> {
     /// # Examples
     ///
     /// ```
+    /// #![feature(bound_cloned)]
     /// use std::ops::Bound::*;
     /// use std::ops::RangeBounds;
     ///
index c617596aba80159af2ecb5f3c4967bc099897f8f..7465ef4a44e249bc4f537ec9409b5a576aa7a90f 100644 (file)
@@ -1,3 +1,4 @@
+#![feature(bound_cloned)]
 #![feature(box_syntax)]
 #![feature(cell_update)]
 #![feature(core_private_bignum)]