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.
2 parents 85db39f + 08141a5 commit cf02fc0Copy full SHA for cf02fc0
src/librustdoc/clean/types.rs
@@ -1436,8 +1436,7 @@ impl Type {
1436
Array(..) => PrimitiveType::Array,
1437
RawPointer(..) => PrimitiveType::RawPointer,
1438
QPath { ref self_type, .. } => return self_type.inner_def_id(cache),
1439
- // FIXME: remove this wildcard
1440
- _ => return None,
+ Generic(_) | Infer | ImplTrait(_) => return None,
1441
};
1442
cache.and_then(|c| Primitive(t).def_id_full(c))
1443
}
0 commit comments