@@ -299,6 +299,9 @@ macro_rules! options {
299299 }
300300 ) *
301301
302+ /// Set a flag to true. Note that it cannot set the flag to false, so
303+ /// using this parser in combination with a flag that defaults to true
304+ /// is useless; the flag will always be true.
302305 fn parse_bool( slot: & mut bool , v: Option <& str >) -> bool {
303306 match v {
304307 Some ( ..) => false ,
@@ -786,14 +789,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
786789 "support compiling tests with panic=abort" ) ,
787790 dep_tasks: bool = ( false , parse_bool, [ UNTRACKED ] ,
788791 "print tasks that execute and the color their dep node gets (requires debug build)" ) ,
789- incremental: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
790- "enable incremental compilation (experimental)" ) ,
791- incremental_queries: bool = ( true , parse_bool, [ UNTRACKED ] ,
792- "enable incremental compilation support for queries (experimental)" ) ,
793792 incremental_info: bool = ( false , parse_bool, [ UNTRACKED ] ,
794793 "print high-level information about incremental reuse (or the lack thereof)" ) ,
795- incremental_dump_hash: bool = ( false , parse_bool, [ UNTRACKED ] ,
796- "dump hash information in textual format to stdout" ) ,
797794 incremental_verify_ich: bool = ( false , parse_bool, [ UNTRACKED ] ,
798795 "verify incr. comp. hashes of green query instances" ) ,
799796 incremental_ignore_spans: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -814,12 +811,10 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
814811 "for every macro invocation, print its name and arguments" ) ,
815812 debug_macros: bool = ( false , parse_bool, [ TRACKED ] ,
816813 "emit line numbers debug info inside macros" ) ,
817- generate_arange_section : bool = ( true , parse_bool, [ TRACKED ] ,
818- "generate DWARF address ranges for faster lookups" ) ,
814+ no_generate_arange_section : bool = ( false , parse_bool, [ TRACKED ] ,
815+ "don't generate DWARF address ranges that give faster lookups" ) ,
819816 keep_hygiene_data: bool = ( false , parse_bool, [ UNTRACKED ] ,
820817 "don't clear the hygiene data after analysis" ) ,
821- keep_ast: bool = ( false , parse_bool, [ UNTRACKED ] ,
822- "keep the AST after lowering it to HIR" ) ,
823818 show_span: Option <String > = ( None , parse_opt_string, [ TRACKED ] ,
824819 "show spans for compiler debugging (expr|pat|ty)" ) ,
825820 print_type_sizes: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -854,8 +849,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
854849 "print some statistics about AST and HIR" ) ,
855850 always_encode_mir: bool = ( false , parse_bool, [ TRACKED ] ,
856851 "encode MIR of all functions into the crate metadata" ) ,
857- json_rendered: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
858- "describes how to render the `rendered` field of json diagnostics" ) ,
859852 unleash_the_miri_inside_of_you: bool = ( false , parse_bool, [ TRACKED ] ,
860853 "take the breaks off const evaluation. NOTE: this is unsound" ) ,
861854 osx_rpath_install_name: bool = ( false , parse_bool, [ TRACKED ] ,
@@ -886,8 +879,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
886879 "emit diagnostics rather than buffering (breaks NLL error downgrading, sorting)." ) ,
887880 polonius: bool = ( false , parse_bool, [ UNTRACKED ] ,
888881 "enable polonius-based borrow-checker" ) ,
889- codegen_time_graph: bool = ( false , parse_bool, [ UNTRACKED ] ,
890- "generate a graphical HTML report of time spent in codegen and LLVM" ) ,
891882 thinlto: Option <bool > = ( None , parse_opt_bool, [ TRACKED ] ,
892883 "enable ThinLTO when possible" ) ,
893884 inline_in_all_cgus: Option <bool > = ( None , parse_opt_bool, [ TRACKED ] ,
0 commit comments