Skip to content

Commit a378267

Browse files
committed
Remove several dead -Z options.
1 parent fa43259 commit a378267

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Diff for: src/librustc_interface/tests.rs

-2
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,6 @@ fn test_debugging_options_tracking_hash() {
560560
assert_eq!(reference.dep_tracking_hash(), opts.dep_tracking_hash());
561561
opts.debugging_opts.keep_hygiene_data = true;
562562
assert_eq!(reference.dep_tracking_hash(), opts.dep_tracking_hash());
563-
opts.debugging_opts.keep_ast = true;
564-
assert_eq!(reference.dep_tracking_hash(), opts.dep_tracking_hash());
565563
opts.debugging_opts.print_mono_items = Some(String::from("abc"));
566564
assert_eq!(reference.dep_tracking_hash(), opts.dep_tracking_hash());
567565
opts.debugging_opts.dump_mir = Some(String::from("abc"));

Diff for: src/librustc_session/options.rs

-8
Original file line numberDiff line numberDiff line change
@@ -793,8 +793,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
793793
"enable incremental compilation (experimental)"),
794794
incremental_info: bool = (false, parse_bool, [UNTRACKED],
795795
"print high-level information about incremental reuse (or the lack thereof)"),
796-
incremental_dump_hash: bool = (false, parse_bool, [UNTRACKED],
797-
"dump hash information in textual format to stdout"),
798796
incremental_verify_ich: bool = (false, parse_bool, [UNTRACKED],
799797
"verify incr. comp. hashes of green query instances"),
800798
incremental_ignore_spans: bool = (false, parse_bool, [UNTRACKED],
@@ -819,8 +817,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
819817
"don't generate DWARF address ranges that give faster lookups"),
820818
keep_hygiene_data: bool = (false, parse_bool, [UNTRACKED],
821819
"don't clear the hygiene data after analysis"),
822-
keep_ast: bool = (false, parse_bool, [UNTRACKED],
823-
"keep the AST after lowering it to HIR"),
824820
show_span: Option<String> = (None, parse_opt_string, [TRACKED],
825821
"show spans for compiler debugging (expr|pat|ty)"),
826822
print_type_sizes: bool = (false, parse_bool, [UNTRACKED],
@@ -855,8 +851,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
855851
"print some statistics about AST and HIR"),
856852
always_encode_mir: bool = (false, parse_bool, [TRACKED],
857853
"encode MIR of all functions into the crate metadata"),
858-
json_rendered: Option<String> = (None, parse_opt_string, [UNTRACKED],
859-
"describes how to render the `rendered` field of json diagnostics"),
860854
unleash_the_miri_inside_of_you: bool = (false, parse_bool, [TRACKED],
861855
"take the breaks off const evaluation. NOTE: this is unsound"),
862856
osx_rpath_install_name: bool = (false, parse_bool, [TRACKED],
@@ -887,8 +881,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
887881
"emit diagnostics rather than buffering (breaks NLL error downgrading, sorting)."),
888882
polonius: bool = (false, parse_bool, [UNTRACKED],
889883
"enable polonius-based borrow-checker"),
890-
codegen_time_graph: bool = (false, parse_bool, [UNTRACKED],
891-
"generate a graphical HTML report of time spent in codegen and LLVM"),
892884
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
893885
"enable ThinLTO when possible"),
894886
inline_in_all_cgus: Option<bool> = (None, parse_opt_bool, [TRACKED],

0 commit comments

Comments
 (0)