From 77fa702b639f941aab7462ca6e3562f793f54fef Mon Sep 17 00:00:00 2001
From: Michael Goulet
Date: Mon, 17 Jul 2023 01:03:55 +0000
Subject: [PATCH] Fix aksama template
---
src/librustdoc/html/templates/type_layout.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/librustdoc/html/templates/type_layout.html b/src/librustdoc/html/templates/type_layout.html
index 20e09a54805..287cbab07d2 100644
--- a/src/librustdoc/html/templates/type_layout.html
+++ b/src/librustdoc/html/templates/type_layout.html
@@ -44,6 +44,11 @@
Note: Encountered an error during type layout; {#+ #}
the type was too big. {# #}
{# #}
+ {% when Err(LayoutError::ReferencesError(_)) %}
+ {# #}
+ Note: Encountered an error during type layout; {#+ #}
+ the type references errors. {# #}
+
{# #}
{% when Err(LayoutError::NormalizationFailure(_, _)) %}
{# #}
Note: Encountered an error during type layout; {#+ #}