diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-31 14:46:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-31 14:46:12 +0200 |
| commit | 893d073a2e27634aa8b68f5b788879c156d9ea08 (patch) | |
| tree | c694849e3051064b4c782447422243b32a584415 /src/librustdoc/lib.rs | |
| parent | 7d025bb63d2f2c2a69cd23bb4befa46a8753f498 (diff) | |
| parent | ee5ec5a1966d3c77cb64fb9900b472765bf76359 (diff) | |
| download | rust-893d073a2e27634aa8b68f5b788879c156d9ea08.tar.gz rust-893d073a2e27634aa8b68f5b788879c156d9ea08.zip | |
Rollup merge of #129774 - nnethercote:rm-extern-crate-tracing-remainder, r=GuillaumeGomez
Remove `#[macro_use] extern crate tracing` from rustdoc and rustfmt A follow-up to #129767 and earlier PRs doing this for `rustc_*` crates. r? ```@GuillaumeGomez```
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index e651501a184..f25acbe080a 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -22,8 +22,6 @@ #![allow(rustc::untranslatable_diagnostic)] extern crate thin_vec; -#[macro_use] -extern crate tracing; // N.B. these need `extern crate` even in 2018 edition // because they're loaded implicitly from the sysroot. @@ -83,6 +81,7 @@ use rustc_interface::interface; use rustc_middle::ty::TyCtxt; use rustc_session::config::{make_crate_type_option, ErrorOutputType, RustcOptGroup}; use rustc_session::{getopts, EarlyDiagCtxt}; +use tracing::info; use crate::clean::utils::DOC_RUST_LANG_ORG_CHANNEL; |
