diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-08-31 13:09:26 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-09-01 14:54:27 +0000 |
| commit | ee3c8350189de045ec71997874eaa6cebf99fbf3 (patch) | |
| tree | 99f69443bfbee138c580b1a96ccc853e8a7d9a85 /compiler/rustc_errors/src | |
| parent | d3b22c726721639c1ab104a8ff8b3a17fd5e99d7 (diff) | |
| download | rust-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_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic_builder.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_errors/src/emitter.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_builder.rs b/compiler/rustc_errors/src/diagnostic_builder.rs index 61d767a1cc6..7e29dc207ac 100644 --- a/compiler/rustc_errors/src/diagnostic_builder.rs +++ b/compiler/rustc_errors/src/diagnostic_builder.rs @@ -12,7 +12,6 @@ use std::fmt::{self, Debug}; use std::marker::PhantomData; use std::ops::{Deref, DerefMut}; use std::thread::panicking; -use tracing::debug; /// Used for emitting structured error messages and other diagnostic information. /// diff --git a/compiler/rustc_errors/src/emitter.rs b/compiler/rustc_errors/src/emitter.rs index 6c1bfcb9919..e79ce11a6fc 100644 --- a/compiler/rustc_errors/src/emitter.rs +++ b/compiler/rustc_errors/src/emitter.rs @@ -34,7 +34,6 @@ use std::iter; use std::path::Path; use termcolor::{Ansi, BufferWriter, ColorChoice, ColorSpec, StandardStream}; use termcolor::{Buffer, Color, WriteColor}; -use tracing::*; /// Default column width, used in tests and when terminal dimensions cannot be determined. const DEFAULT_COLUMN_WIDTH: usize = 140; |
