about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-06 15:56:14 +0200
committerGitHub <noreply@github.com>2025-07-06 15:56:14 +0200
commitbff79a75172b5f8200b4f30264e5fc9d36f8080e (patch)
treea151db6fe3bd369f4d6a6fb00ae349961e7ad822
parent05146ab80255de5f60d50cee3d141bce1e518973 (diff)
parente99f9c5ffcf5e412a13c974255031e33ab26015a (diff)
downloadrust-bff79a75172b5f8200b4f30264e5fc9d36f8080e.tar.gz
rust-bff79a75172b5f8200b4f30264e5fc9d36f8080e.zip
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.
-rw-r--r--compiler/rustc_builtin_macros/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_builtin_macros/src/lib.rs b/compiler/rustc_builtin_macros/src/lib.rs
index 0594f7e86c3..6bf590df5c9 100644
--- a/compiler/rustc_builtin_macros/src/lib.rs
+++ b/compiler/rustc_builtin_macros/src/lib.rs
@@ -108,6 +108,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
     }
 
     register_attr! {
+        // tidy-alphabetical-start
         alloc_error_handler: alloc_error_handler::expand,
         autodiff_forward: autodiff::expand_forward,
         autodiff_reverse: autodiff::expand_reverse,
@@ -120,6 +121,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
         global_allocator: global_allocator::expand,
         test: test::expand_test,
         test_case: test::expand_test_case,
+        // tidy-alphabetical-end
     }
 
     register_derive! {