diff options
| author | bors <bors@rust-lang.org> | 2023-11-14 16:04:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-14 16:04:29 +0000 |
| commit | 8d57ad1adeb66bc183ee8171b57839656896b7d5 (patch) | |
| tree | 143f90f857c62a1bb0dc9c0504cf4106ff934619 /src | |
| parent | d97bb195bf7b84815622b235cb51171c1b8f7e51 (diff) | |
| parent | 121d9f5b16cae379c6b57e27ff14f25e431c44fa (diff) | |
Auto merge of #117849 - compiler-errors:cycle, r=cjgillot
make `LayoutError::Cycle` carry `ErrorGuaranteed` Addresses a FIXME, and also I think it's wise for error variants to carry their `ErrorGuaranteed` -- makes it easier to use that `ErrorGuaranteed` for creating, e.g. `TyKind::Error` and other error kinds. Splitting out from #117703.
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. {# #} |
