about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2023-04-06 12:29:43 +0200
committerMara Bos <m-ou.se@m-ou.se>2023-04-13 12:15:36 +0200
commita77d39b5e2ac35357721e4d313fe271ae59164b7 (patch)
tree1f5355f9149bf7cc674015ffb65dc8b285a98895
parentd37e2f74afd131cda7b08520d37426bfbb622b5c (diff)
downloadrust-a77d39b5e2ac35357721e4d313fe271ae59164b7.tar.gz
rust-a77d39b5e2ac35357721e4d313fe271ae59164b7.zip
Enable flatten-format-args by default.
-rw-r--r--compiler/rustc_session/src/options.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 631dd0a2146..8e8ad72ec8a 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1452,9 +1452,9 @@ options! {
     fewer_names: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "reduce memory use by retaining fewer names within compilation artifacts (LLVM-IR) \
         (default: no)"),
-    flatten_format_args: bool = (false, parse_bool, [TRACKED],
+    flatten_format_args: bool = (true, parse_bool, [TRACKED],
         "flatten nested format_args!() and literals into a simplified format_args!() call \
-        (default: no)"),
+        (default: yes)"),
     force_unstable_if_unmarked: bool = (false, parse_bool, [TRACKED],
         "force all crates to be `rustc_private` unstable (default: no)"),
     fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED],