diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2022-08-29 18:46:56 -0500 |
|---|---|---|
| committer | Joshua Nelson <jnelson@cloudflare.com> | 2022-09-06 21:43:15 -0500 |
| commit | c630c87ceb0c49c5dc2b1a6119c67e9033dce828 (patch) | |
| tree | 36bd534906df11e7d7dbebbcc3423f5d3f2dc753 /compiler/rustc_query_impl/src | |
| parent | 05886e28a4c3fbb7bc22d56bf5a52ba7cfa491d9 (diff) | |
| download | rust-c630c87ceb0c49c5dc2b1a6119c67e9033dce828.tar.gz rust-c630c87ceb0c49c5dc2b1a6119c67e9033dce828.zip | |
Support doc-comments in `define_dep_nodes`
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/profiling_support.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_query_impl/src/profiling_support.rs b/compiler/rustc_query_impl/src/profiling_support.rs index a8e0210e8d6..a9bb4756dbc 100644 --- a/compiler/rustc_query_impl/src/profiling_support.rs +++ b/compiler/rustc_query_impl/src/profiling_support.rs @@ -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, ); - })* + })+ } } |
