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 Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
asserting.rs
atomic.rs
bool.rs
bstr.rs Actually run the bstr test 2025-01-26 10:45:09 +00:00
cell.rs
char.rs
clone.rs
cmp.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
const_ptr.rs
convert.rs
error.rs
ffi.rs
future.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
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 Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
panic.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
pattern.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
pin.rs
pin_macro.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
ptr.rs
result.rs
simd.rs
slice.rs
str.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
str_lossy.rs
task.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
time.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
tuple.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
unicode.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
waker.rs