Skip to content

Commit a77d39b

Browse files
committed
Enable flatten-format-args by default.
1 parent d37e2f7 commit a77d39b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_session/src/options.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1452,9 +1452,9 @@ options! {
14521452
fewer_names: Option<bool> = (None, parse_opt_bool, [TRACKED],
14531453
"reduce memory use by retaining fewer names within compilation artifacts (LLVM-IR) \
14541454
(default: no)"),
1455-
flatten_format_args: bool = (false, parse_bool, [TRACKED],
1455+
flatten_format_args: bool = (true, parse_bool, [TRACKED],
14561456
"flatten nested format_args!() and literals into a simplified format_args!() call \
1457-
(default: no)"),
1457+
(default: yes)"),
14581458
force_unstable_if_unmarked: bool = (false, parse_bool, [TRACKED],
14591459
"force all crates to be `rustc_private` unstable (default: no)"),
14601460
fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED],

0 commit comments

Comments
 (0)