From: Chris Gregory Date: Sun, 2 Jun 2019 05:39:13 +0000 (-0700) Subject: Enable feature bound_cloned for tests X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=c478efbe6a2e324910f2f82db7d03a6476215ca2;p=rust.git Enable feature bound_cloned for tests --- diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs index e9c5f1d4a8b..ddcf3addf39 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 c617596aba8..7465ef4a44e 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)]