about summary refs log tree commit diff
path: root/compiler/rustc_session/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-14 16:16:50 +0000
committerbors <bors@rust-lang.org>2022-12-14 16:16:50 +0000
commitfbf8b937b44d39ba03835b82ed7ea443321eb7c7 (patch)
tree63772bb85f5aeeb32668b0c0f66aff67fa83f050 /compiler/rustc_session/src/errors.rs
parentba64ba8b0dfd57f7d6d7399d0df7ded37d2af18d (diff)
parenta7838d8bd7e7e1e25a843de74340284832c5e3ac (diff)
downloadrust-fbf8b937b44d39ba03835b82ed7ea443321eb7c7.tar.gz
rust-fbf8b937b44d39ba03835b82ed7ea443321eb7c7.zip
Auto merge of #105233 - mejrs:always_eager, r=estebank
Always evaluate vecs of subdiagnostics eagerly

See https://rust-lang.zulipchat.com/#narrow/stream/336883-i18n/topic/.23100717.20lists!/near/310186705 for context
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
-rw-r--r--compiler/rustc_session/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/errors.rs b/compiler/rustc_session/src/errors.rs
index 4266430c4c6..25d84506efa 100644
--- a/compiler/rustc_session/src/errors.rs
+++ b/compiler/rustc_session/src/errors.rs
@@ -176,7 +176,7 @@ impl ExprParenthesesNeeded {
 #[derive(Diagnostic)]
 #[diag(session_skipping_const_checks)]
 pub struct SkippingConstChecks {
-    #[subdiagnostic(eager)]
+    #[subdiagnostic]
     pub unleashed_features: Vec<UnleashedFeatureHelp>,
 }