diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-08 05:13:35 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-11-12 18:59:18 +0000 |
| commit | 121d9f5b16cae379c6b57e27ff14f25e431c44fa (patch) | |
| tree | b0398d50ca4eb6940ab1cecaf73fd6800eff905e /src | |
| parent | 2b603f95a48f10f931a61dd208fe3e5ffd64e491 (diff) | |
| download | rust-121d9f5b16cae379c6b57e27ff14f25e431c44fa.tar.gz rust-121d9f5b16cae379c6b57e27ff14f25e431c44fa.zip | |
make LayoutError::Cycle carry ErrorGuaranteed
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/templates/type_layout.html | 2 |
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. {# #} |
