Skip to content

Commit

Permalink
Unrolled build for rust-lang#124001
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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 rust-lang#118639, but this little part was missed when that happened.
  • Loading branch information
rust-timer authored Apr 16, 2024
2 parents 4e1f5d9 + 24e9a0c commit 575860f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tools/lint-docs/src/lib.rs
Original file line number Diff line number Diff line change
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 575860f

Please sign in to comment.