mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:24:57 +00:00
Update Rust to v1.77 (#10510)
This commit is contained in:
parent
ac150b9314
commit
60fd98eb2f
26 changed files with 35 additions and 84 deletions
|
@ -92,7 +92,7 @@ pub fn test_snippet(contents: &str, settings: &LinterSettings) -> Vec<Message> {
|
|||
}
|
||||
|
||||
thread_local! {
|
||||
static MAX_ITERATIONS: std::cell::Cell<usize> = std::cell::Cell::new(8);
|
||||
static MAX_ITERATIONS: std::cell::Cell<usize> = const { std::cell::Cell::new(8) };
|
||||
}
|
||||
|
||||
pub fn set_max_iterations(max: usize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue