about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-05-07 00:29:20 +0000
committerGitHub <noreply@github.com>2025-05-07 00:29:20 +0000
commit60a4b939a31830fc91b5866e7ccdd5d0a5e1e1b8 (patch)
tree3b8a9323d9818cef71fc446d0fbc66e177169491 /src/tools
parent27d6200a70601f6fcf419bf2f9e37989f3624ca4 (diff)
parentf5c63b9e63b841a3b60731769078571514a1cdad (diff)
Rollup merge of #134273 - RalfJung:de-stabilize-bench, r=ibraheemdev,traviscross
de-stabilize bench attribute

This has been soft-unstable since forever (https://github.com/rust-lang/rust/pull/64066), and shown in future-compat reports since Rust 1.77 (https://github.com/rust-lang/rust/pull/116274).

The feature covering `bench` itself is tracked in https://github.com/rust-lang/rust/issues/50297, which has been closed despite still having active feature gates referencing it.

Cc `@rust-lang/libs-api`
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/lint-docs/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/lint-docs/src/lib.rs b/src/tools/lint-docs/src/lib.rs
index d6c69d39e17..cacce01675f 100644
--- a/src/tools/lint-docs/src/lib.rs
+++ b/src/tools/lint-docs/src/lib.rs
@@ -312,6 +312,7 @@ impl<'a> LintExtractor<'a> {
         if matches!(
             lint.name.as_str(),
             "unused_features" // broken lint
+            | "soft_unstable" // cannot have a stable example
         ) {
             return Ok(());
         }