Support doc-comments in define_dep_nodes
This commit is contained in:
parent
05886e28a4
commit
c630c87ceb
3 changed files with 12 additions and 8 deletions
|
@ -307,7 +307,7 @@ pub fn alloc_self_profile_query_strings(tcx: TyCtxt<'_>) {
|
|||
|
||||
macro_rules! alloc_once {
|
||||
(
|
||||
$($name:ident,)*
|
||||
$( $( #[$attr:meta] )* $name:ident, )+
|
||||
) => {
|
||||
$({
|
||||
alloc_self_profile_query_strings_for_query_cache(
|
||||
|
@ -316,7 +316,7 @@ pub fn alloc_self_profile_query_strings(tcx: TyCtxt<'_>) {
|
|||
&tcx.query_caches.$name,
|
||||
&mut string_cache,
|
||||
);
|
||||
})*
|
||||
})+
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue