about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-07-10 17:21:59 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-07-10 17:23:29 +0000
commit0674eca2f0c4ac45b7cf1a66fd4df44dfc603e7e (patch)
tree7b38cc4b009a00514dba53bc9ecf9057d35f1aa4 /compiler/rustc_errors
parent7dfc3e9af45ad54832c083baf0d2d0ca8e0d979a (diff)
downloadrust-0674eca2f0c4ac45b7cf1a66fd4df44dfc603e7e.tar.gz
rust-0674eca2f0c4ac45b7cf1a66fd4df44dfc603e7e.zip
Make `Diag::multipart_suggestions` always verbose
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/diagnostic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs
index 5746c28a2ab..a128f8d31a1 100644
--- a/compiler/rustc_errors/src/diagnostic.rs
+++ b/compiler/rustc_errors/src/diagnostic.rs
@@ -1165,7 +1165,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {
         self.push_suggestion(CodeSuggestion {
             substitutions,
             msg: self.subdiagnostic_message_to_diagnostic_message(msg),
-            style: SuggestionStyle::ShowCode,
+            style: SuggestionStyle::ShowAlways,
             applicability,
         });
         self