about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2023-03-16 11:13:07 +0100
committerMara Bos <m-ou.se@m-ou.se>2023-03-16 11:21:50 +0100
commit995e57b89efc00e967100d6e7c36b55315bf3cd7 (patch)
tree9785960957fa0a051fb39f32dbfbecae104db39f /compiler/rustc_interface/src
parent1d59081bfdc82074677654955e63833153114b04 (diff)
downloadrust-995e57b89efc00e967100d6e7c36b55315bf3cd7.tar.gz
rust-995e57b89efc00e967100d6e7c36b55315bf3cd7.zip
Gate fmt args flattening behind -Zflatten-format-args.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 18d84a7023a..014810dba9c 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -744,6 +744,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(emit_thin_lto, false);
     tracked!(export_executable_symbols, true);
     tracked!(fewer_names, Some(true));
+    tracked!(flatten_format_args, true);
     tracked!(force_unstable_if_unmarked, true);
     tracked!(fuel, Some(("abc".to_string(), 99)));
     tracked!(function_sections, Some(false));