You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: creating a shared reference to mutable static is discouraged
--> tracing-core/src/dispatcher.rs:462:9
|
462 | &GLOBAL_DISPATCH
| ^^^^^^^^^^^^^^^^ shared reference to mutable static
|
= note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
= note: this will be a hard error in the 2024 edition
= note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
= note: `-D static-mut-refs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(static_mut_refs)]`
help: use `addr_of!` instead to create a raw pointer
|
462 | addr_of!(GLOBAL_DISPATCH)
|
error: bound is defined in more than one place
--> tracing-core/src/field.rs:843:18
|
843 | pub fn field<Q: ?Sized>(&self, name: &Q) -> Option<Field>
| ^
844 | where
845 | Q: Borrow<str>,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `-D clippy::multiple-bound-locations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`