diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-01-12 20:18:45 +0000 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2025-01-27 07:54:58 +0000 |
| commit | 24ce0a2efa314eff96af73f5b6c5d0e3392abf38 (patch) | |
| tree | 584c629d7b18156cadf30f05e746c4055168b779 | |
| parent | 4fec62a430bddc39a1100703f68873881f8700fa (diff) | |
| download | rust-24ce0a2efa314eff96af73f5b6c5d0e3392abf38.tar.gz rust-24ce0a2efa314eff96af73f5b6c5d0e3392abf38.zip | |
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
| -rw-r--r-- | tests/run/int.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/run/int.rs b/tests/run/int.rs index bfe73c38435..58a26801b67 100644 --- a/tests/run/int.rs +++ b/tests/run/int.rs @@ -3,8 +3,6 @@ // Run-time: // status: 0 -#![feature(const_black_box)] - /* * Code */ |
