diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-23 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-23 00:00:00 +0000 |
| commit | fafe3cd68290b7440e1ea66fca8438363a431274 (patch) | |
| tree | 98bf427932508f9ea89691edc0b2e2e7e22c1b44 /compiler/rustc_interface/src | |
| parent | 068320b39e3e4839d832b3aa71fa910ba170673b (diff) | |
| download | rust-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.rs | 2 |
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))); |
