diff --git a/console-subscriber/src/lib.rs b/console-subscriber/src/lib.rs index 29b85bd75..1f58c8fea 100644 --- a/console-subscriber/src/lib.rs +++ b/console-subscriber/src/lib.rs @@ -260,14 +260,6 @@ impl ConsoleLayer { } fn build(config: Builder) -> (Self, Server) { - // The `cfg` value *appears* to be a constant to clippy, but it changes - // depending on the build-time configuration... - #![allow(clippy::assertions_on_constants)] - assert!( - cfg!(tokio_unstable), - "task tracing requires Tokio to be built with RUSTFLAGS=\"--cfg tokio_unstable\"!" - ); - let base_time = stats::TimeAnchor::new(); tracing::debug!( config.event_buffer_capacity,