about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-04-16 15:19:16 +0200
committerGitHub <noreply@github.com>2024-04-16 15:19:16 +0200
commit583c1a09eebe3544db2b69fd410b048b47260ef7 (patch)
treee21c347d9549e495d2acb387701d51d23b5559cc /src/tools
parentf5adfa0e6971d927cf31bd27ab10f4cd49663006 (diff)
parent24e9a0c41b9fcd2d6cad9098ff479ab8ca286c34 (diff)
downloadrust-583c1a09eebe3544db2b69fd410b048b47260ef7.tar.gz
rust-583c1a09eebe3544db2b69fd410b048b47260ef7.zip
Rollup merge of #124001 - ehuss:fix-unstable_features-docs, r=compiler-errors
Fix docs for unstable_features lint.

This fixes the `unstable_features` lint documentation (at https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unstable-features) so that it correctly displays the output (instead of showing `{{produces}}`). The lint was undeprecated in https://github.com/rust-lang/rust/pull/118639, but this little part was missed when that happened.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/lint-docs/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/lint-docs/src/lib.rs b/src/tools/lint-docs/src/lib.rs
index b7c8b9ed2e3..2566124a037 100644
--- a/src/tools/lint-docs/src/lib.rs
+++ b/src/tools/lint-docs/src/lib.rs
@@ -270,7 +270,6 @@ impl<'a> LintExtractor<'a> {
         if matches!(
             lint.name.as_str(),
             "unused_features" // broken lint
-            | "unstable_features" // deprecated
         ) {
             return Ok(());
         }