Skip to content

Commit a05dca8

Browse files
authored
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
2 parents 600999a + 24ce0a2 commit a05dca8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/run/int.rs

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// Run-time:
44
// status: 0
55

6-
#![feature(const_black_box)]
7-
86
/*
97
* Code
108
*/

0 commit comments

Comments
 (0)