diff --git a/compiler/rustc_middle/src/query/plumbing.rs b/compiler/rustc_middle/src/query/plumbing.rs index 4e19ebb9016a..dfa122510729 100644 --- a/compiler/rustc_middle/src/query/plumbing.rs +++ b/compiler/rustc_middle/src/query/plumbing.rs @@ -395,7 +395,6 @@ pub fn provided_to_erased<'tcx>( #[derive(Default)] pub struct QueryArenas<'tcx> { $( - $(#[$attr])* pub $name: if_arena_cache!( [$($modifiers)*] // Use the `ArenaCached` helper trait to determine the arena's value type. @@ -409,7 +408,7 @@ pub struct QueryArenas<'tcx> { #[derive(Default)] pub struct QueryCaches<'tcx> { $( - $(#[$attr])* pub $name: $name::Storage<'tcx>, + pub $name: $name::Storage<'tcx>, )* }