about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-10 10:10:12 +0000
committerbors <bors@rust-lang.org>2023-02-10 10:10:12 +0000
commitd1ac43a9b9a8250d858705b0796dfed6186e18db (patch)
tree61bcd957939f16716173238f6bc142a0bb91138e /src
parent9b8dbd558c1c4b25c55d987e22baba312ae980ad (diff)
parent3689295a6bf43a6defbb392e1aca08757fa14a59 (diff)
Auto merge of #107652 - estebank:re_error, r=oli-obk
Introduce `ReError`

CC #69314

r? `@nagisa`
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/clean/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index 80493b100bb..5bda3620dd0 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -242,6 +242,7 @@ pub(crate) fn clean_middle_region<'tcx>(region: ty::Region<'tcx>) -> Option<Life
         ty::ReLateBound(..)
         | ty::ReFree(..)
         | ty::ReVar(..)
+        | ty::ReError(_)
         | ty::RePlaceholder(..)
         | ty::ReErased => {
             debug!("cannot clean region {:?}", region);