about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-08-31 13:09:26 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-09-01 14:54:27 +0000
commitee3c8350189de045ec71997874eaa6cebf99fbf3 (patch)
tree99f69443bfbee138c580b1a96ccc853e8a7d9a85 /compiler/rustc_interface/src/interface.rs
parentd3b22c726721639c1ab104a8ff8b3a17fd5e99d7 (diff)
downloadrust-ee3c8350189de045ec71997874eaa6cebf99fbf3.tar.gz
rust-ee3c8350189de045ec71997874eaa6cebf99fbf3.zip
Always import all tracing macros for the entire crate instead of piecemeal by module
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
-rw-r--r--compiler/rustc_interface/src/interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs
index 1c6243c275c..949bd02ad68 100644
--- a/compiler/rustc_interface/src/interface.rs
+++ b/compiler/rustc_interface/src/interface.rs
@@ -332,7 +332,7 @@ pub fn create_compiler_and_run<R>(config: Config, f: impl FnOnce(&Compiler) -> R
 // JUSTIFICATION: before session exists, only config
 #[allow(rustc::bad_opt_access)]
 pub fn run_compiler<R: Send>(config: Config, f: impl FnOnce(&Compiler) -> R + Send) -> R {
-    tracing::trace!("run_compiler");
+    trace!("run_compiler");
     util::run_in_thread_pool_with_globals(
         config.opts.edition,
         config.opts.unstable_opts.threads,