about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-09-28 13:07:17 +0900
committerGitHub <noreply@github.com>2022-09-28 13:07:17 +0900
commit07bb2e65276d21ef97a6bdbcfdd74cfce47baa37 (patch)
tree9ad2f332441e8bdd9001f346e3c0d042b9a53a85 /library/std/src
parent49bc6684932b2a11b69cc0b037b2636e90bc2b22 (diff)
parent9ad2f00f6a9ba359f35b270162a7ca6c412876eb (diff)
downloadrust-07bb2e65276d21ef97a6bdbcfdd74cfce47baa37.tar.gz
rust-07bb2e65276d21ef97a6bdbcfdd74cfce47baa37.zip
Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8Ki
Stabilize bench_black_box

This PR stabilize `feature(bench_black_box)`.

```rust
pub fn black_box<T>(dummy: T) -> T;
```

The FCP was completed in https://github.com/rust-lang/rust/issues/64102.

`@rustbot` label +T-libs-api -T-libs
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index ac5d0384d43..64b62fd3bba 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -348,7 +348,6 @@
 #![feature(trace_macros)]
 //
 // Only used in tests/benchmarks:
-#![feature(bench_black_box)]
 //
 // Only for const-ness:
 #![feature(const_io_structs)]