From e0cd0994870ef068b5aa126a106f901490c27d68 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Wed, 18 Sep 2019 12:38:10 -0700 Subject: [PATCH] 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. --- zebrad/src/components/tracing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebrad/src/components/tracing.rs b/zebrad/src/components/tracing.rs index 1455deb4..bd2a8e6c 100644 --- a/zebrad/src/components/tracing.rs +++ b/zebrad/src/components/tracing.rs @@ -17,7 +17,7 @@ use tracing_subscriber::{filter::Filter, reload::Handle, FmtSubscriber}; // XXX ideally this would be TracingEndpoint // but this doesn't seem to play well with derive(Component) pub struct TracingEndpoint { - filter_handle: Handle, + filter_handle: Handle, } impl ::std::fmt::Debug for TracingEndpoint {