diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-29 18:37:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-29 18:37:47 +0800 |
| commit | 0e78c29bea998081cb1880da9fa09e38d46d44a6 (patch) | |
| tree | 3b4b2a5a57516705db3d1b752aa9864ef00f4e78 /src/test/ui/span | |
| parent | 6006c0f35fdcdaa25dfd2cf76438ca2bb5e37d4b (diff) | |
| parent | 6c5f53e65ee5f022611033dbf58c42e26be7f93d (diff) | |
| download | rust-0e78c29bea998081cb1880da9fa09e38d46d44a6.tar.gz rust-0e78c29bea998081cb1880da9fa09e38d46d44a6.zip | |
Rollup merge of #46287 - SimonSapin:stable-constness, r=aturon
Stabilize const-calling existing const-fns in std Fixes #46038
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/dropck_arr_cycle_checked.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/span/dropck_vec_cycle_checked.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/span/vec-must-not-hide-type-from-dropck.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/span/dropck_arr_cycle_checked.rs b/src/test/ui/span/dropck_arr_cycle_checked.rs index 995a198271c..455c9dc57f5 100644 --- a/src/test/ui/span/dropck_arr_cycle_checked.rs +++ b/src/test/ui/span/dropck_arr_cycle_checked.rs @@ -13,7 +13,7 @@ // // (Compare against compile-fail/dropck_vec_cycle_checked.rs) -#![feature(const_atomic_usize_new)] + use std::cell::Cell; use id::Id; diff --git a/src/test/ui/span/dropck_vec_cycle_checked.rs b/src/test/ui/span/dropck_vec_cycle_checked.rs index 5bcaa71f73c..5e7cb79680c 100644 --- a/src/test/ui/span/dropck_vec_cycle_checked.rs +++ b/src/test/ui/span/dropck_vec_cycle_checked.rs @@ -12,7 +12,7 @@ // // (Compare against compile-fail/dropck_arr_cycle_checked.rs) -#![feature(const_atomic_usize_new)] + use std::cell::Cell; use id::Id; diff --git a/src/test/ui/span/vec-must-not-hide-type-from-dropck.rs b/src/test/ui/span/vec-must-not-hide-type-from-dropck.rs index d99f3bb19db..c4596e7c368 100644 --- a/src/test/ui/span/vec-must-not-hide-type-from-dropck.rs +++ b/src/test/ui/span/vec-must-not-hide-type-from-dropck.rs @@ -23,7 +23,7 @@ // conditions above to be satisfied, meaning that if the dropck is // sound, it should reject this code. -#![feature(const_atomic_usize_new)] + use std::cell::Cell; use id::Id; |
