@@ -1214,7 +1214,6 @@ options! {
12141214 "only allow the listed language features to be enabled in code (space separated)" ) ,
12151215 always_encode_mir: bool = ( false , parse_bool, [ TRACKED ] ,
12161216 "encode MIR of all functions into the crate metadata (default: no)" ) ,
1217- #[ rustc_lint_opt_deny_field_access( "use `Session::asm_comments` instead of this field" ) ]
12181217 asm_comments: bool = ( false , parse_bool, [ TRACKED ] ,
12191218 "generate comments into the assembly (may change behavior) (default: no)" ) ,
12201219 assert_incr_state: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
@@ -1363,7 +1362,6 @@ options! {
13631362 `=except-unused-generics`
13641363 `=except-unused-functions`
13651364 `=off` (default)" ) ,
1366- #[ rustc_lint_opt_deny_field_access( "use `Session::instrument_mcount` instead of this field" ) ]
13671365 instrument_mcount: bool = ( false , parse_bool, [ TRACKED ] ,
13681366 "insert function instrument code for mcount-based tracing (default: no)" ) ,
13691367 keep_hygiene_data: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -1392,7 +1390,6 @@ options! {
13921390 merge_functions: Option <MergeFunctions > = ( None , parse_merge_functions, [ TRACKED ] ,
13931391 "control the operation of the MergeFunctions LLVM pass, taking \
13941392 the same values as the target option of the same name") ,
1395- #[ rustc_lint_opt_deny_field_access( "use `Session::meta_stats` instead of this field" ) ]
13961393 meta_stats: bool = ( false , parse_bool, [ UNTRACKED ] ,
13971394 "gather metadata statistics (default: no)" ) ,
13981395 mir_emit_retag: bool = ( false , parse_bool, [ TRACKED ] ,
@@ -1469,7 +1466,6 @@ options! {
14691466 See #77382 and #74551.") ,
14701467 print_fuel: Option <String > = ( None , parse_opt_string, [ TRACKED ] ,
14711468 "make rustc print the total optimization fuel used by a crate" ) ,
1472- #[ rustc_lint_opt_deny_field_access( "use `Session::print_llvm_passes` instead of this field" ) ]
14731469 print_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
14741470 "print the LLVM optimization passes being run (default: no)" ) ,
14751471 print_mono_items: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
@@ -1583,10 +1579,8 @@ options! {
15831579 #[ rustc_lint_opt_deny_field_access( "use `Session::threads` instead of this field" ) ]
15841580 threads: usize = ( 1 , parse_threads, [ UNTRACKED ] ,
15851581 "use a thread pool with N threads" ) ,
1586- #[ rustc_lint_opt_deny_field_access( "use `Session::time_llvm_passes` instead of this field" ) ]
15871582 time_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
15881583 "measure time of each LLVM pass (default: no)" ) ,
1589- #[ rustc_lint_opt_deny_field_access( "use `Session::time_passes` instead of this field" ) ]
15901584 time_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
15911585 "measure time of each rustc pass (default: no)" ) ,
15921586 #[ rustc_lint_opt_deny_field_access( "use `Session::tls_model` instead of this field" ) ]
0 commit comments