Skip to content

Commit 596b394

Browse files
authored
Rollup merge of #81512 - GuillaumeGomez:cleanup-fixme-rustdoc, r=bugadani
Add missing variants in match binding cc `````@bugadani````` `````@CraftSpider````` r? `````@camelid`````
2 parents ba40cea + 08141a5 commit 596b394

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/clean/types.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1436,8 +1436,7 @@ impl Type {
14361436
Array(..) => PrimitiveType::Array,
14371437
RawPointer(..) => PrimitiveType::RawPointer,
14381438
QPath { ref self_type, .. } => return self_type.inner_def_id(cache),
1439-
// FIXME: remove this wildcard
1440-
_ => return None,
1439+
Generic(_) | Infer | ImplTrait(_) => return None,
14411440
};
14421441
cache.and_then(|c| Primitive(t).def_id_full(c))
14431442
}

0 commit comments

Comments
 (0)