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.
This commit is contained in:
Guillaume Gomez 2024-04-16 15:19:16 +02:00 committed by GitHub
commit 583c1a09ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,7 +270,6 @@ impl<'a> LintExtractor<'a> {
if matches!(
lint.name.as_str(),
"unused_features" // broken lint
| "unstable_features" // deprecated
) {
return Ok(());
}