Rollup merge of #135414 - tgross35:stabilize-const_black_box, r=dtolnay

Stabilize `const_black_box`

This has been unstably const since #92226, but a tracking issue was never created. Per [discussion on Zulip][zulip], 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.

[zulip]: https://rust-lang.zulipchat.com/#narrow/channel/146212-t-compiler.2Fconst-eval/topic/const_black_box
This commit is contained in:
Jacob Pratt 2025-01-31 00:25:34 -05:00 committed by GitHub
commit a05dca8a1a

View file

@ -3,8 +3,6 @@
// Run-time:
// status: 0
#![feature(const_black_box)]
/*
* Code
*/