about summary refs log tree commit diff
path: root/compiler/rustc_index/src/lib.rs
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 /compiler/rustc_index/src/lib.rs
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 'compiler/rustc_index/src/lib.rs')
-rw-r--r--compiler/rustc_index/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs
index 9753fb35530..23a4c1f0696 100644
--- a/compiler/rustc_index/src/lib.rs
+++ b/compiler/rustc_index/src/lib.rs
@@ -1,7 +1,6 @@
 #![deny(rustc::untranslatable_diagnostic)]
 #![deny(rustc::diagnostic_outside_of_impl)]
 #![feature(allow_internal_unstable)]
-#![feature(bench_black_box)]
 #![feature(extend_one)]
 #![feature(min_specialization)]
 #![feature(new_uninit)]