Rollup merge of #46287 - SimonSapin:stable-constness, r=aturon
Stabilize const-calling existing const-fns in std Fixes #46038
This commit is contained in:
commit
0e78c29bea
45 changed files with 8 additions and 164 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue