rust/compiler/rustc_lint
Aaron Kofsky a9f1b7bd2a Explain why let-underscoring a lock guard is incorrect.
Currently, the let_underscore_lock lint simply tells what is wrong, but
not why it is wrong. We fix this by using a `MultiSpan` to explain
specifically that doing `let _ = ` immediately drops the lock guard
because it does not assign the lock guard to a binding.
2022-08-04 17:00:48 -04:00
..
src Explain why let-underscoring a lock guard is incorrect. 2022-08-04 17:00:48 -04:00
Cargo.toml Remove --extern-location and all associated code 2022-04-15 11:19:06 -07:00