1
Fork 0

Support doc-comments in define_dep_nodes

This commit is contained in:
Joshua Nelson 2022-08-29 18:46:56 -05:00
parent 05886e28a4
commit c630c87ceb
3 changed files with 12 additions and 8 deletions

View file

@ -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,
);
})*
})+
}
}