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[E0282]: type annotations needed
--> src/main.rs:159:22
|
159 | let console_layer = tracing_subscriber::fmt::layer()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `S` declared on the function `layer`
|
help: consider specifying the generic argument
|
159 | let console_layer = tracing_subscriber::fmt::layer::<S>()
let (non_blocking_console, console_guard) = tracing_appender::non_blocking(std::io::stdout());
let console_layer = tracing_subscriber::fmt::layer()
.with_writer(non_blocking_console)
.with_ansi(true)
.with_target(false)
.with_span_events(FmtSpan::CLOSE)
.with_filter(filter::LevelFilter::INFO);
``
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: