We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f8f62 commit 08141a5Copy full SHA for 08141a5
src/librustdoc/clean/types.rs
@@ -1437,8 +1437,7 @@ impl Type {
1437
Array(..) => PrimitiveType::Array,
1438
RawPointer(..) => PrimitiveType::RawPointer,
1439
QPath { ref self_type, .. } => return self_type.inner_def_id(cache),
1440
- // FIXME: remove this wildcard
1441
- _ => return None,
+ Generic(_) | Infer | ImplTrait(_) => return None,
1442
};
1443
cache.and_then(|c| Primitive(t).def_id_full(c))
1444
}
0 commit comments