diff options
| author | bors <bors@rust-lang.org> | 2020-10-08 13:38:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-10-08 13:38:29 +0000 |
| commit | ccea570488694e502c1a7ca8f3f0866c9b763ce4 (patch) | |
| tree | bdde8017076b82863c85599d6c196042f19a3bf2 | |
| parent | 382848989f91fa2c25390f0d5c1e8b1ae94f47df (diff) | |
| parent | 8b22d079bfff6c534398a4e2b91787a2ae929125 (diff) | |
| download | rust-ccea570488694e502c1a7ca8f3f0866c9b763ce4.tar.gz rust-ccea570488694e502c1a7ca8f3f0866c9b763ce4.zip | |
Auto merge of #77678 - jyn514:tracing, r=Mark-Simulacrum
Upgrade to tracing-subscriber 0.2.13 The primary motivation is to get the changes from https://github.com/tokio-rs/tracing/pull/990. Example output: ``` $ RUSTDOC_LOG=debug rustdoc +rustc2 warning: some trace filter directives would enable traces that are disabled statically | `debug` would enable the DEBUG level for all targets = note: the static max level is `info` = help: to enable DEBUG logging, remove the `max_level_info` feature ``` r? `@Mark-Simulacrum` cc `@hawkw` ❤️
| -rw-r--r-- | Cargo.lock | 9 | ||||
| -rw-r--r-- | compiler/rustc_driver/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/test/ui/issues/issue-18075.rs | 7 |
3 files changed, 6 insertions, 12 deletions
diff --git a/Cargo.lock b/Cargo.lock index 6fa6d97ab54..64ff57ad29a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5099,9 +5099,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.15" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f0e00789804e99b20f12bc7003ca416309d28a6f495d6af58d1e2c2842461b5" +checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f" dependencies = [ "lazy_static", ] @@ -5129,9 +5129,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.11" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abd165311cc4d7a555ad11cc77a37756df836182db0d81aac908c8184c584f40" +checksum = "4ef0a5e15477aa303afbfac3a44cba9b6430fdaad52423b1e6c0dbbe28c3eedd" dependencies = [ "ansi_term 0.12.1", "chrono", @@ -5144,6 +5144,7 @@ dependencies = [ "sharded-slab", "smallvec 1.4.2", "thread_local", + "tracing", "tracing-core", "tracing-log", "tracing-serde", diff --git a/compiler/rustc_driver/Cargo.toml b/compiler/rustc_driver/Cargo.toml index f610e88b7fc..0adc006b624 100644 --- a/compiler/rustc_driver/Cargo.toml +++ b/compiler/rustc_driver/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["dylib"] [dependencies] libc = "0.2" tracing = { version = "0.1.18" } -tracing-subscriber = { version = "0.2.10", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] } +tracing-subscriber = { version = "0.2.13", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] } tracing-tree = "0.1.6" rustc_middle = { path = "../rustc_middle" } rustc_ast_pretty = { path = "../rustc_ast_pretty" } diff --git a/src/test/ui/issues/issue-18075.rs b/src/test/ui/issues/issue-18075.rs deleted file mode 100644 index 56ec629c613..00000000000 --- a/src/test/ui/issues/issue-18075.rs +++ /dev/null @@ -1,7 +0,0 @@ -// run-pass -// rustc-env:RUSTC_LOG=rustc::middle=debug - -fn main() { - let b = 1isize; - println!("{}", b); -} |
