]> git.proxmox.com Git - rustc.git/blobdiff - vendor/tracing-subscriber/src/lib.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / vendor / tracing-subscriber / src / lib.rs
index 8c2fb65f5d9ec730f517b628dc34cba6007f7a5e..32af55e0ab464736ea3060ebd03277c8c10df798 100644 (file)
@@ -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/"
     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]