File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
compiler/rustc_interface/src Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ fn print_macro_stats(ecx: &ExtCtxt<'_>) {
371
371
// The name won't abut or overlap with the uses value, but it does
372
372
// overlap with the empty part of the uses column. Shrink the width
373
373
// of the uses column to account for the excess name length.
374
- uses_w = uses_with_underscores . len ( ) + 1
374
+ uses_w -= name . len ( ) - name_w ;
375
375
} ;
376
376
377
377
_ = writeln ! (
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ macro-stats trait_tys! 1 2 2.0
22
22
macro-stats n99! 2 2 1.0 4 2.0
23
23
macro-stats none! 1 1 1.0 4 4.0
24
24
macro-stats u32! 1 1 1.0 3 3.0
25
- macro-stats long_name_that_fits_on_one_line! 10 10 1.0 0 0.0
25
+ macro-stats long_name_that_fits_on_one_line! 10 10 1.0 0 0.0
26
26
macro-stats long_name_that_fits_on_one_line_____! 1 1 1.0 0 0.0
27
- macro-stats long_name_that_fits_on_one_line____! 1 1 1.0 0 0.0
28
- macro-stats long_name_that_fits_on_one_line___! 1 1 1.0 0 0.0
29
- macro-stats long_name_that_fits_on_one_line__! 1 1 1.0 0 0.0
30
- macro-stats long_name_that_fits_on_one_line_! 1 1 1.0 0 0.0
27
+ macro-stats long_name_that_fits_on_one_line____! 1 1 1.0 0 0.0
28
+ macro-stats long_name_that_fits_on_one_line___! 1 1 1.0 0 0.0
29
+ macro-stats long_name_that_fits_on_one_line__! 1 1 1.0 0 0.0
30
+ macro-stats long_name_that_fits_on_one_line_! 1 1 1.0 0 0.0
31
31
macro-stats #[test] 1 1 1.0 0 0.0
32
32
macro-stats ===================================================================================
You can’t perform that action at this time.
0 commit comments