X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=vendor%2Ftracing-subscriber%2Fsrc%2Flib.rs;h=32af55e0ab464736ea3060ebd03277c8c10df798;hb=5869c6ff7a3bf934f0bcc4de49608749c877a3d5;hp=8c2fb65f5d9ec730f517b628dc34cba6007f7a5e;hpb=fc51201451a8dc06f64f11ffaf252afc6666632b;p=rustc.git diff --git a/vendor/tracing-subscriber/src/lib.rs b/vendor/tracing-subscriber/src/lib.rs index 8c2fb65f5d..32af55e0ab 100644 --- a/vendor/tracing-subscriber/src/lib.rs +++ b/vendor/tracing-subscriber/src/lib.rs @@ -67,7 +67,7 @@ //! [`env_logger` crate]: https://crates.io/crates/env_logger //! [`parking_lot`]: https://crates.io/crates/parking_lot //! [`registry`]: registry/index.html -#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.13")] +#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.15")] #![doc( html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png", issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/" @@ -95,6 +95,12 @@ unused_parens, while_true )] +// Using struct update syntax when a struct has no additional fields avoids +// a potential source change if additional fields are added to the struct in the +// future, reducing diff noise. Allow this even though clippy considers it +// "needless". +#![allow(clippy::needless_update)] + use tracing_core::span::Id; #[macro_use]