1
Fork 0
rust/library/coretests/tests
Trevor Gross 395f0c9ecd Stabilize const_black_box
This has been unstably const since [1], but a tracking issue was never
created. Per discussion on Zulip [2], there should not be any blockers
to making this const-stable. The function does not provide any
functionality at compile time but does allow code reuse between const-
and non-const functions, so stabilize it here.

[1]: https://github.com/rust-lang/rust/pull/92226
[2]: https://rust-lang.zulipchat.com/#narrow/channel/146212-t-compiler.2Fconst-eval/topic/const_black_box
2025-01-27 07:54:58 +00:00
..
async_iter
ffi
fmt
hash
io
iter
net
num
ops
panic
alloc.rs
any.rs
array.rs
ascii.rs
ascii_char.rs
asserting.rs
atomic.rs
bool.rs
bstr.rs
cell.rs
char.rs
clone.rs
cmp.rs
const_ptr.rs
convert.rs
error.rs
ffi.rs
future.rs
intrinsics.rs
lazy.rs
lib.rs Stabilize const_black_box 2025-01-27 07:54:58 +00:00
macros.rs
macros_bootstrap.rs
manually_drop.rs
mem.rs
nonzero.rs
ops.rs
option.rs
panic.rs
pattern.rs
pin.rs
pin_macro.rs
ptr.rs
result.rs
simd.rs
slice.rs
str.rs
str_lossy.rs
task.rs
time.rs
tuple.rs
unicode.rs
waker.rs