@@ -1214,7 +1214,6 @@ options! {
1214
1214
"only allow the listed language features to be enabled in code (space separated)" ) ,
1215
1215
always_encode_mir: bool = ( false , parse_bool, [ TRACKED ] ,
1216
1216
"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" ) ]
1218
1217
asm_comments: bool = ( false , parse_bool, [ TRACKED ] ,
1219
1218
"generate comments into the assembly (may change behavior) (default: no)" ) ,
1220
1219
assert_incr_state: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
@@ -1363,7 +1362,6 @@ options! {
1363
1362
`=except-unused-generics`
1364
1363
`=except-unused-functions`
1365
1364
`=off` (default)" ) ,
1366
- #[ rustc_lint_opt_deny_field_access( "use `Session::instrument_mcount` instead of this field" ) ]
1367
1365
instrument_mcount: bool = ( false , parse_bool, [ TRACKED ] ,
1368
1366
"insert function instrument code for mcount-based tracing (default: no)" ) ,
1369
1367
keep_hygiene_data: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -1392,7 +1390,6 @@ options! {
1392
1390
merge_functions: Option <MergeFunctions > = ( None , parse_merge_functions, [ TRACKED ] ,
1393
1391
"control the operation of the MergeFunctions LLVM pass, taking \
1394
1392
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" ) ]
1396
1393
meta_stats: bool = ( false , parse_bool, [ UNTRACKED ] ,
1397
1394
"gather metadata statistics (default: no)" ) ,
1398
1395
mir_emit_retag: bool = ( false , parse_bool, [ TRACKED ] ,
@@ -1469,7 +1466,6 @@ options! {
1469
1466
See #77382 and #74551.") ,
1470
1467
print_fuel: Option <String > = ( None , parse_opt_string, [ TRACKED ] ,
1471
1468
"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" ) ]
1473
1469
print_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
1474
1470
"print the LLVM optimization passes being run (default: no)" ) ,
1475
1471
print_mono_items: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
@@ -1583,10 +1579,8 @@ options! {
1583
1579
#[ rustc_lint_opt_deny_field_access( "use `Session::threads` instead of this field" ) ]
1584
1580
threads: usize = ( 1 , parse_threads, [ UNTRACKED ] ,
1585
1581
"use a thread pool with N threads" ) ,
1586
- #[ rustc_lint_opt_deny_field_access( "use `Session::time_llvm_passes` instead of this field" ) ]
1587
1582
time_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
1588
1583
"measure time of each LLVM pass (default: no)" ) ,
1589
- #[ rustc_lint_opt_deny_field_access( "use `Session::time_passes` instead of this field" ) ]
1590
1584
time_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
1591
1585
"measure time of each rustc pass (default: no)" ) ,
1592
1586
#[ rustc_lint_opt_deny_field_access( "use `Session::tls_model` instead of this field" ) ]
0 commit comments