Merge pull request #6819 from roc-lang/rust-1-77-2-upgrade

Rust 1.77.2 upgrade
This commit is contained in:
Anton-4 2024-07-06 03:23:54 +02:00 committed by GitHub
commit 1bcf30391b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 74 additions and 77 deletions

View file

@ -12,7 +12,7 @@ use std::cell::Cell;
thread_local! {
// we use a thread_local here so that tests consistently give the same pattern
static SUFFIXED_ANSWER_COUNTER: Cell<usize> = Cell::new(0);
static SUFFIXED_ANSWER_COUNTER: Cell<usize> = const { Cell::new(0) };
}
/// Provide an intermediate answer expression and pattern when unwrapping a