From 841df3cc5de745012a420c7ea0748944c188d32e Mon Sep 17 00:00:00 2001 From: Zalathar Date: Fri, 28 Aug 2026 23:18:18 +1000 Subject: [PATCH] Change `rustc_middle/src/hooks/mod.rs` to `hooks.rs` Back when hooks were first introduced, the `hooks/mod.rs` file structure would have matched `query/mod.rs`. But the list of queries has since been moved to `queries.rs`, making the hooks file seem awkward in comparison. Since the hooks module has no submodules, making it a top-level file seems simpler. --- compiler/rustc_middle/src/{hooks/mod.rs => hooks.rs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename compiler/rustc_middle/src/{hooks/mod.rs => hooks.rs} (100%) diff --git a/compiler/rustc_middle/src/hooks/mod.rs b/compiler/rustc_middle/src/hooks.rs similarity index 100% rename from compiler/rustc_middle/src/hooks/mod.rs rename to compiler/rustc_middle/src/hooks.rs