This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ fn assert_same_hash(x: &Options, y: &Options) {
98
98
assert_same_clone ( y) ;
99
99
}
100
100
101
+ #[ track_caller]
101
102
fn assert_different_hash ( x : & Options , y : & Options ) {
102
103
assert_ne ! ( x. dep_tracking_hash( true ) , y. dep_tracking_hash( true ) ) ;
103
104
assert_ne ! ( x. dep_tracking_hash( false ) , y. dep_tracking_hash( false ) ) ;
@@ -713,7 +714,6 @@ fn test_unstable_options_tracking_hash() {
713
714
untracked ! ( unpretty, Some ( "expanded" . to_string( ) ) ) ;
714
715
untracked ! ( unstable_options, true ) ;
715
716
untracked ! ( validate_mir, true ) ;
716
- untracked ! ( verbose_internals, true ) ;
717
717
untracked ! ( write_long_types_to_disk, false ) ;
718
718
// tidy-alphabetical-end
719
719
@@ -845,6 +845,7 @@ fn test_unstable_options_tracking_hash() {
845
845
} ;
846
846
}
847
847
tracked_no_crate_hash ! ( no_codegen, true ) ;
848
+ tracked_no_crate_hash ! ( verbose_internals, true ) ;
848
849
}
849
850
850
851
#[ test]
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ top_level_options!(
224
224
working_dir: RealFileName [ TRACKED ] ,
225
225
color: ColorConfig [ UNTRACKED ] ,
226
226
227
- verbose: bool [ UNTRACKED ] ,
227
+ verbose: bool [ TRACKED_NO_CRATE_HASH ] ,
228
228
}
229
229
) ;
230
230
@@ -1986,7 +1986,7 @@ written to standard error output)"),
1986
1986
validate_mir: bool = ( false , parse_bool, [ UNTRACKED ] ,
1987
1987
"validate MIR after each transformation" ) ,
1988
1988
#[ rustc_lint_opt_deny_field_access( "use `Session::verbose_internals` instead of this field" ) ]
1989
- verbose_internals: bool = ( false , parse_bool, [ UNTRACKED ] ,
1989
+ verbose_internals: bool = ( false , parse_bool, [ TRACKED_NO_CRATE_HASH ] ,
1990
1990
"in general, enable more debug printouts (default: no)" ) ,
1991
1991
#[ rustc_lint_opt_deny_field_access( "use `Session::verify_llvm_ir` instead of this field" ) ]
1992
1992
verify_llvm_ir: bool = ( false , parse_bool, [ TRACKED ] ,
Original file line number Diff line number Diff line change 11
11
#![ rustc_partition_codegened( module="commandline_args" , cfg="rpass4" ) ]
12
12
13
13
// Between revisions 1 and 2, we are changing the debuginfo-level, which should
14
- // invalidate the cache. Between revisions 2 and 3, we are adding `--verbose `
14
+ // invalidate the cache. Between revisions 2 and 3, we are adding `--diagnostic-width `
15
15
// which should have no effect on the cache. Between revisions, we are adding
16
16
// `--remap-path-prefix` which should invalidate the cache:
17
17
//[rpass1] compile-flags: -C debuginfo=0
18
18
//[rpass2] compile-flags: -C debuginfo=2
19
- //[rpass3] compile-flags: -C debuginfo=2 --verbose
20
- //[rpass4] compile-flags: -C debuginfo=2 --verbose --remap-path-prefix=/home/bors/rust =src
19
+ //[rpass3] compile-flags: -C debuginfo=2 --diagnostic-width=80
20
+ //[rpass4] compile-flags: -C debuginfo=2 --diagnostic-width=80 --remap-path-prefix=/home/bors/r =src
21
21
22
22
pub fn main ( ) {
23
23
// empty
You can’t perform that action at this time.
0 commit comments