about summary refs log tree commit diff
path: root/tests/ui/stats
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-06-30 13:18:39 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-06-30 13:33:51 +1000
commite0761a57ab41d213a705c0cc005d93a3463399c6 (patch)
tree12b6c295da553cd468dd0332e613229e62150a02 /tests/ui/stats
parent25a6fd3213ae54c83d27741b38a7e7dad7c686f0 (diff)
downloadrust-e0761a57ab41d213a705c0cc005d93a3463399c6.tar.gz
rust-e0761a57ab41d213a705c0cc005d93a3463399c6.zip
Improve macro-stats printing.
By allowing long names to overlap with the "Uses" field when it has
spare space. This avoids unnecessary line breaks in the output.
Diffstat (limited to 'tests/ui/stats')
-rw-r--r--tests/ui/stats/macro-stats.stderr3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/stats/macro-stats.stderr b/tests/ui/stats/macro-stats.stderr
index c8336443ca7..8d0fdb8958a 100644
--- a/tests/ui/stats/macro-stats.stderr
+++ b/tests/ui/stats/macro-stats.stderr
@@ -22,7 +22,6 @@ macro-stats trait_tys!                            1          2        2.0
 macro-stats n99!                                  2          2        1.0          4        2.0
 macro-stats none!                                 1          1        1.0          4        4.0
 macro-stats u32!                                  1          1        1.0          3        3.0
-macro-stats long_name_that_fits_on_a_single_line!
-macro-stats                                       1          1        1.0          0        0.0
+macro-stats long_name_that_fits_on_a_single_line! 1          1        1.0          0        0.0
 macro-stats #[test]                               1          1        1.0          0        0.0
 macro-stats ===================================================================================