about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-11-08 05:13:35 +0000
committerMichael Goulet <michael@errs.io>2023-11-12 18:59:18 +0000
commit121d9f5b16cae379c6b57e27ff14f25e431c44fa (patch)
treeb0398d50ca4eb6940ab1cecaf73fd6800eff905e /src/librustdoc/html
parent2b603f95a48f10f931a61dd208fe3e5ffd64e491 (diff)
downloadrust-121d9f5b16cae379c6b57e27ff14f25e431c44fa.tar.gz
rust-121d9f5b16cae379c6b57e27ff14f25e431c44fa.zip
make LayoutError::Cycle carry ErrorGuaranteed
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/templates/type_layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/templates/type_layout.html b/src/librustdoc/html/templates/type_layout.html
index b8b7785a2a1..c75fc34a9df 100644
--- a/src/librustdoc/html/templates/type_layout.html
+++ b/src/librustdoc/html/templates/type_layout.html
@@ -54,7 +54,7 @@
             <strong>Note:</strong> Encountered an error during type layout; {#+ #}
             the type failed to be normalized. {# #}
         </p> {# #}
-        {% when Err(LayoutError::Cycle) %}
+        {% when Err(LayoutError::Cycle(_)) %}
         <p> {# #}
             <strong>Note:</strong> Encountered an error during type layout; {#+ #}
             the type's layout depended on the type's layout itself. {# #}