]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/formats/cache.rs
Rollup merge of #85766 - workingjubilee:file-options, r=yaahc
[rust.git] / src / librustdoc / formats / cache.rs
index 1e951a89023f6195845e556ef344871155420e1b..05d8b643f502b5e6fa2ecd3d9d37420838ba0c42 100644 (file)
@@ -228,7 +228,7 @@ fn fold_item(&mut self, item: clean::Item) -> Option<clean::Item> {
         // Collect all the implementors of traits.
         if let clean::ImplItem(ref i) = *item.kind {
             if let Some(trait_) = &i.trait_ {
-                if i.blanket_impl.is_none() {
+                if !i.kind.is_blanket() {
                     self.cache
                         .implementors
                         .entry(trait_.def_id())