From b4485be1aa48cf8542aafb4a67ab48d2fdd34f70 Mon Sep 17 00:00:00 2001 From: Jack Huey <31162821+jackh726@users.noreply.github.com> Date: Sat, 2 Dec 2023 18:46:24 -0500 Subject: [PATCH] Also report region errors for crater --- compiler/rustc_hir_analysis/src/check/wfcheck.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_hir_analysis/src/check/wfcheck.rs b/compiler/rustc_hir_analysis/src/check/wfcheck.rs index f71bfa81239a..c70a88618125 100644 --- a/compiler/rustc_hir_analysis/src/check/wfcheck.rs +++ b/compiler/rustc_hir_analysis/src/check/wfcheck.rs @@ -175,7 +175,7 @@ where } }, ); - if lint_level.is_error() { + if true || lint_level.is_error() { infcx.err_ctxt().report_region_errors(body_def_id, &errors); }