about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-06 15:56:12 +0200
committerGitHub <noreply@github.com>2025-07-06 15:56:12 +0200
commit017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff (patch)
tree80a9e02d609b274c2cfcd6d5e74711ee9c96ce90 /src/librustdoc
parentc83e217d268d25960a0c79c6941bcb3917a6a0af (diff)
parent33f2cc7eda7a97e2870f9c60a229211a5f416b7a (diff)
downloadrust-017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff.tar.gz
rust-017fe2fb8f1dc4cc1a4ffa2ea4bdfb62814a10ff.zip
Rollup merge of #143252 - JonathanBrouwer:rewrite_empty_attribute, r=jdonszelmann
Rewrite empty attribute lint for new attribute parser

cc `@jdonszelmann`
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/clean/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs
index de920469fdc..a05aab22f1e 100644
--- a/src/librustdoc/clean/types.rs
+++ b/src/librustdoc/clean/types.rs
@@ -784,7 +784,7 @@ impl Item {
                         // don't want it it `Item::attrs`.
                         hir::Attribute::Parsed(AttributeKind::Deprecation { .. }) => None,
                         // We have separate pretty-printing logic for `#[repr(..)]` attributes.
-                        hir::Attribute::Parsed(AttributeKind::Repr(..)) => None,
+                        hir::Attribute::Parsed(AttributeKind::Repr { .. }) => None,
                         // target_feature is special-cased because cargo-semver-checks uses it
                         hir::Attribute::Parsed(AttributeKind::TargetFeature(features, _)) => {
                             let mut output = String::new();