about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-05-09 13:18:28 -0700
committerCamelid <camelidcamel@gmail.com>2021-05-11 10:19:46 -0700
commitd43701caa01003d9e0386fbd7a61d530e830564b (patch)
tree608b92ade2b4b5b12c55eef86f24068ac71e8e44 /src/librustdoc/html/render
parent9b89d01bbbc674f19a69838d2eb2e17ba4a84899 (diff)
downloadrust-d43701caa01003d9e0386fbd7a61d530e830564b.tar.gz
rust-d43701caa01003d9e0386fbd7a61d530e830564b.zip
Disable layout docs for type aliases for now
There are issues with computing layout for type aliases; see #85103.
Once the issues are fixed, we should re-enable layout docs for them.
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/print_item.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs
index bde42371713..f0ca24b8f02 100644
--- a/src/librustdoc/html/render/print_item.rs
+++ b/src/librustdoc/html/render/print_item.rs
@@ -837,8 +837,6 @@ fn item_typedef(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, t: &clean::T
     // associated items from the aliased type (see discussion in #32077), but
     // we need #14072 to make sense of the generics.
     render_assoc_items(w, cx, it, def_id, AssocItemRender::All);
-
-    document_type_layout(w, cx, def_id);
 }
 
 fn item_union(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, s: &clean::Union) {