@@ -391,6 +391,7 @@ fn test_codegen_options_tracking_hash() {
391
391
392
392
macro_rules! untracked {
393
393
( $name: ident, $non_default_value: expr) => {
394
+ assert_ne!( opts. cg. $name, $non_default_value) ;
394
395
opts. cg. $name = $non_default_value;
395
396
assert_eq!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
396
397
} ;
@@ -416,6 +417,7 @@ fn test_codegen_options_tracking_hash() {
416
417
macro_rules! tracked {
417
418
( $name: ident, $non_default_value: expr) => {
418
419
opts = reference. clone( ) ;
420
+ assert_ne!( opts. cg. $name, $non_default_value) ;
419
421
opts. cg. $name = $non_default_value;
420
422
assert_ne!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
421
423
} ;
@@ -461,6 +463,7 @@ fn test_debugging_options_tracking_hash() {
461
463
462
464
macro_rules! untracked {
463
465
( $name: ident, $non_default_value: expr) => {
466
+ assert_ne!( opts. debugging_opts. $name, $non_default_value) ;
464
467
opts. debugging_opts. $name = $non_default_value;
465
468
assert_eq!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
466
469
} ;
@@ -471,7 +474,7 @@ fn test_debugging_options_tracking_hash() {
471
474
untracked ! ( ast_json, true ) ;
472
475
untracked ! ( ast_json_noexpand, true ) ;
473
476
untracked ! ( borrowck, String :: from( "other" ) ) ;
474
- untracked ! ( deduplicate_diagnostics, true ) ;
477
+ untracked ! ( deduplicate_diagnostics, false ) ;
475
478
untracked ! ( dep_tasks, true ) ;
476
479
untracked ! ( dont_buffer_diagnostics, true ) ;
477
480
untracked ! ( dump_dep_graph, true ) ;
@@ -515,7 +518,7 @@ fn test_debugging_options_tracking_hash() {
515
518
untracked ! ( self_profile_events, Some ( vec![ String :: new( ) ] ) ) ;
516
519
untracked ! ( span_debug, true ) ;
517
520
untracked ! ( span_free_formats, true ) ;
518
- untracked ! ( strip, Strip :: None ) ;
521
+ untracked ! ( strip, Strip :: Debuginfo ) ;
519
522
untracked ! ( terminal_width, Some ( 80 ) ) ;
520
523
untracked ! ( threads, 99 ) ;
521
524
untracked ! ( time, true ) ;
@@ -532,6 +535,7 @@ fn test_debugging_options_tracking_hash() {
532
535
macro_rules! tracked {
533
536
( $name: ident, $non_default_value: expr) => {
534
537
opts = reference. clone( ) ;
538
+ assert_ne!( opts. debugging_opts. $name, $non_default_value) ;
535
539
opts. debugging_opts. $name = $non_default_value;
536
540
assert_ne!( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
537
541
} ;
0 commit comments