about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-11-23 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-11-23 00:00:00 +0000
commitfafe3cd68290b7440e1ea66fca8438363a431274 (patch)
tree98bf427932508f9ea89691edc0b2e2e7e22c1b44 /compiler/rustc_interface/src
parent068320b39e3e4839d832b3aa71fa910ba170673b (diff)
downloadrust-fafe3cd68290b7440e1ea66fca8438363a431274.tar.gz
rust-fafe3cd68290b7440e1ea66fca8438363a431274.zip
Allow using `-Z fewer-names=no` to retain value names
Change `-Z fewer-names` into an optional boolean flag and allow using it
to either discard value names when true or retain them when false,
regardless of other settings.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 1fc2d281e79..01d5ed2f34a 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -547,7 +547,7 @@ fn test_debugging_options_tracking_hash() {
     tracked!(debug_macros, true);
     tracked!(dep_info_omit_d_target, true);
     tracked!(dual_proc_macros, true);
-    tracked!(fewer_names, true);
+    tracked!(fewer_names, Some(true));
     tracked!(force_overflow_checks, Some(true));
     tracked!(force_unstable_if_unmarked, true);
     tracked!(fuel, Some(("abc".to_string(), 99)));