[Bug Report] fails to build on Linux with latest nightly Rust
Closed this issue · 2 comments
ssh352 commented
Describe the bug
fails to build on Linux with latest nightly Rust, stable Rust is fine
To Reproduce
cargo build
Expected behavior
error: non-binding let on a synchronization lock
--> spdlog/src/periodic_worker.rs:25:22
|
25 | let (_, res) = active
| ^ this lock is not assigned to a binding and is immediately dropped
|
= help: consider immediately dropping the value using `drop(..)` after the `let` statement
= note: `#[deny(let_underscore_lock)]` on by default
help: consider binding to an unused variable to avoid immediately dropping the value
|
25 | let (_unused, res) = active
Screenshots
Environments
- OS: ubuntu
- Version: 20