mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
Remove $attr from QueryArenas/QueryCaches.
It doesn't make much sense to put the query doc comments on these structs. (The doc comments *are* put on various query functions, where it makes more sense.)
This commit is contained in:
@@ -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>,
|
||||
)*
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user