about summary refs log tree commit diff
path: root/src/librustdoc/formats
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2024-12-11 11:30:37 -0800
committerDavid Tolnay <dtolnay@gmail.com>2024-12-19 10:42:57 -0800
commit57e1a47dc4ef07c52db70737b1dee3944f729f95 (patch)
tree131a016dda3e8f210b7487ac2eaebbd114bc03ec /src/librustdoc/formats
parent85641f729f43b3b826f2269f82817ea0b577613f (diff)
downloadrust-57e1a47dc4ef07c52db70737b1dee3944f729f95.tar.gz
rust-57e1a47dc4ef07c52db70737b1dee3944f729f95.zip
Rename TyAssocConstItem -> RequiredAssocConstItem
Diffstat (limited to 'src/librustdoc/formats')
-rw-r--r--src/librustdoc/formats/cache.rs4
-rw-r--r--src/librustdoc/formats/item_type.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/formats/cache.rs b/src/librustdoc/formats/cache.rs
index e387eb010be..f8f26c203f4 100644
--- a/src/librustdoc/formats/cache.rs
+++ b/src/librustdoc/formats/cache.rs
@@ -337,7 +337,7 @@ impl DocFolder for CacheBuilder<'_, '_> {
             | clean::TyMethodItem(..)
             | clean::MethodItem(..)
             | clean::StructFieldItem(..)
-            | clean::TyAssocConstItem(..)
+            | clean::RequiredAssocConstItem(..)
             | clean::AssocConstItem(..)
             | clean::TyAssocTypeItem(..)
             | clean::AssocTypeItem(..)
@@ -450,7 +450,7 @@ fn add_item_to_search_index(tcx: TyCtxt<'_>, cache: &mut Cache, item: &clean::It
             return;
         }
         clean::TyMethodItem(..)
-        | clean::TyAssocConstItem(..)
+        | clean::RequiredAssocConstItem(..)
         | clean::TyAssocTypeItem(..)
         | clean::StructFieldItem(..)
         | clean::VariantItem(..) => {
diff --git a/src/librustdoc/formats/item_type.rs b/src/librustdoc/formats/item_type.rs
index 383e3135faa..43170cecad5 100644
--- a/src/librustdoc/formats/item_type.rs
+++ b/src/librustdoc/formats/item_type.rs
@@ -96,7 +96,7 @@ impl<'a> From<&'a clean::Item> for ItemType {
             clean::ForeignStaticItem(..) => ItemType::Static,     // no ForeignStatic
             clean::MacroItem(..) => ItemType::Macro,
             clean::PrimitiveItem(..) => ItemType::Primitive,
-            clean::TyAssocConstItem(..) | clean::AssocConstItem(..) => ItemType::AssocConst,
+            clean::RequiredAssocConstItem(..) | clean::AssocConstItem(..) => ItemType::AssocConst,
             clean::TyAssocTypeItem(..) | clean::AssocTypeItem(..) => ItemType::AssocType,
             clean::ForeignTypeItem => ItemType::ForeignType,
             clean::KeywordItem => ItemType::Keyword,