@@ -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 ] ,
@@ -1467,7 +1464,6 @@ options! {
14671464 See #77382 and #74551.") ,
14681465 print_fuel: Option <String > = ( None , parse_opt_string, [ TRACKED ] ,
14691466 "make rustc print the total optimization fuel used by a crate" ) ,
1470- #[ rustc_lint_opt_deny_field_access( "use `Session::print_llvm_passes` instead of this field" ) ]
14711467 print_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
14721468 "print the LLVM optimization passes being run (default: no)" ) ,
14731469 print_mono_items: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
@@ -1581,10 +1577,8 @@ options! {
15811577 #[ rustc_lint_opt_deny_field_access( "use `Session::threads` instead of this field" ) ]
15821578 threads: usize = ( 1 , parse_threads, [ UNTRACKED ] ,
15831579 "use a thread pool with N threads" ) ,
1584- #[ rustc_lint_opt_deny_field_access( "use `Session::time_llvm_passes` instead of this field" ) ]
15851580 time_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
15861581 "measure time of each LLVM pass (default: no)" ) ,
1587- #[ rustc_lint_opt_deny_field_access( "use `Session::time_passes` instead of this field" ) ]
15881582 time_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
15891583 "measure time of each rustc pass (default: no)" ) ,
15901584 #[ rustc_lint_opt_deny_field_access( "use `Session::tls_model` instead of this field" ) ]
0 commit comments