Update Rust to v1.77 (#10510)

This commit is contained in:
Charlie Marsh 2024-03-21 12:10:33 -04:00 committed by GitHub
parent ac150b9314
commit 60fd98eb2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 35 additions and 84 deletions

View file

@ -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) {