Skip to content

Commit

Permalink
Rollup merge of rust-lang#124001 - ehuss:fix-unstable_features-docs, …
Browse files Browse the repository at this point in the history
…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 rust-lang#118639, but this little part was missed when that happened.
  • Loading branch information
GuillaumeGomez committed Apr 16, 2024
2 parents f5adfa0 + 24e9a0c commit 583c1a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tools/lint-docs/src/lib.rs
Expand Up @@ -270,7 +270,6 @@ impl<'a> LintExtractor<'a> {
if matches!(
lint.name.as_str(),
"unused_features" // broken lint
| "unstable_features" // deprecated
) {
return Ok(());
}
Expand Down

0 comments on commit 583c1a0

Please sign in to comment.