Skip to content

Commit bff79a7

Browse files
authored
Rollup merge of #143518 - joshtriplett:sort-attrs, r=Kobzol
rustc_builtin_macros: Make sure registered attributes stay sorted As with the list of builtin macros, use tidy to make sure the list of builtin attributes stays sorted.
2 parents 05146ab + e99f9c5 commit bff79a7

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_builtin_macros/src

1 file changed

+2
-0
lines changed

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
108108
}
109109

110110
register_attr! {
111+
// tidy-alphabetical-start
111112
alloc_error_handler: alloc_error_handler::expand,
112113
autodiff_forward: autodiff::expand_forward,
113114
autodiff_reverse: autodiff::expand_reverse,
@@ -120,6 +121,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
120121
global_allocator: global_allocator::expand,
121122
test: test::expand_test,
122123
test_case: test::expand_test_case,
124+
// tidy-alphabetical-end
123125
}
124126

125127
register_derive! {

0 commit comments

Comments
 (0)