This commit is contained in:
Niko Matsakis 2024-07-19 09:54:24 -04:00
parent 83de15ff3c
commit 6066e0b536

View file

@ -22,7 +22,7 @@ struct MyTracked<'db> {
}
thread_local! {
static DROPPED: std::cell::RefCell<Vec<u32>> = std::cell::RefCell::new(vec![]);
static DROPPED: std::cell::RefCell<Vec<u32>> = const { std::cell::RefCell::new(vec![]) };
}
fn dropped() -> Vec<u32> {