mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Lint debug prints and disallowed types with clippy
This commit is contained in:
parent
850ba2fb63
commit
9e8a0fae0c
64 changed files with 170 additions and 229 deletions
|
@ -706,7 +706,7 @@ where
|
|||
// we are trying to match that bit of code. This saves us having to pass a boolean into all the bits
|
||||
// of code that can make the decision to not match.
|
||||
thread_local! {
|
||||
pub static RECORDING_MATCH_FAIL_REASONS: Cell<bool> = Cell::new(false);
|
||||
pub static RECORDING_MATCH_FAIL_REASONS: Cell<bool> = const { Cell::new(false) };
|
||||
}
|
||||
|
||||
fn recording_match_fail_reasons() -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue