Fix type with updated tracing-subscriber
An updated tracing-subscriber version changed one of the public types; because we hardcode the type instead of being generic over S: Subscriber, this was actually a breaking change. As noted in the comment adjacent to this line, we would rather be generic over S, but this requires fixing a bug in abscissa's proc-macros, so in the meantime we hardcode the type.
This commit is contained in:
parent
5506c7e13c
commit
f28783c5d4
|
@ -17,7 +17,7 @@ use tracing_subscriber::{filter::Filter, reload::Handle, FmtSubscriber};
|
|||
// XXX ideally this would be TracingEndpoint<S: Subscriber>
|
||||
// but this doesn't seem to play well with derive(Component)
|
||||
pub struct TracingEndpoint {
|
||||
filter_handle: Handle<Filter, FmtSubscriber>,
|
||||
filter_handle: Handle<Filter, tracing_subscriber::fmt::Formatter>,
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for TracingEndpoint {
|
||||
|
|
Loading…
Reference in New Issue