Inline impls on traits too

This commit is contained in:
mitaa 2016-04-21 18:05:15 +02:00
parent 23ccaddaa7
commit cc615b2072

View File

@ -76,6 +76,7 @@ fn try_inline_def(cx: &DocContext, tcx: &TyCtxt,
let inner = match def {
Def::Trait(did) => {
record_extern_fqn(cx, did, clean::TypeTrait);
ret.extend(build_impls(cx, tcx, did));
clean::TraitItem(build_external_trait(cx, tcx, did))
}
Def::Fn(did) => {