diff options
| author | Chris Gregory <czipperz@gmail.com> | 2019-06-01 22:39:13 -0700 |
|---|---|---|
| committer | Chris Gregory <czipperz@gmail.com> | 2019-06-01 22:39:13 -0700 |
| commit | c478efbe6a2e324910f2f82db7d03a6476215ca2 (patch) | |
| tree | 760b9678df72ae87c1a48039e8e45ed27b4819d2 /src/libcore | |
| parent | c3824919fd29c936f07806733c463e73172c60a2 (diff) | |
| download | rust-c478efbe6a2e324910f2f82db7d03a6476215ca2.tar.gz rust-c478efbe6a2e324910f2f82db7d03a6476215ca2.zip | |
Enable feature bound_cloned for tests
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ops/range.rs | 1 | ||||
| -rw-r--r-- | src/libcore/tests/lib.rs | 1 |
2 files changed, 2 insertions, 0 deletions
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<T: Clone> 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)] |
