diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-01-17 14:57:34 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-02-19 17:51:55 +0100 |
| commit | 0e9cac40a66ad8c18409890673150d8a4eacf039 (patch) | |
| tree | 631cdc853a53630afab125343b2e291162c5d68e /compiler/rustc_interface/src | |
| parent | 5d71b99690b68ddb5b7b65b71fe900d6c74f570e (diff) | |
| download | rust-0e9cac40a66ad8c18409890673150d8a4eacf039.tar.gz rust-0e9cac40a66ad8c18409890673150d8a4eacf039.zip | |
Make alloc_self_profile_query_strings a standalone function.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/queries.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/queries.rs b/compiler/rustc_interface/src/queries.rs index 86d78d7e9ca..f70701257e2 100644 --- a/compiler/rustc_interface/src/queries.rs +++ b/compiler/rustc_interface/src/queries.rs @@ -429,7 +429,7 @@ impl Compiler { { let _prof_timer = queries.session().prof.generic_activity("self_profile_alloc_query_strings"); - gcx.enter(|tcx| tcx.alloc_self_profile_query_strings()); + gcx.enter(query::alloc_self_profile_query_strings); } if self.session().opts.debugging_opts.query_stats { |
