Reformat parameters to macros used by with-all-queries

This commit is contained in:
Zalathar
2025-04-29 17:31:05 +10:00
parent 64bcf3b9f6
commit ed2f4b6d2d
3 changed files with 15 additions and 6 deletions

View File

@@ -578,8 +578,11 @@ where
// invoked by `rustc_with_all_queries`.
macro_rules! define_queries {
(
$($(#[$attr:meta])*
[$($modifiers:tt)*] fn $name:ident($($K:tt)*) -> $V:ty,)*) => {
$(
$(#[$attr:meta])*
[$($modifiers:tt)*] fn $name:ident($($K:tt)*) -> $V:ty,
)*
) => {
pub(crate) mod query_impl { $(pub(crate) mod $name {
use super::super::*;