Cannot mutate the value inside a Mutex
created in a const
context
#100417
Labels
C-bug
Category: This is a bug.
Mutex
created in a const
context
#100417
Hi. I was trying the new
Mutex::new()
inconst
a context (new in rust 1.63) and I'm able to mutate it's value:I tried this code:
The output is
Playground link here.
The text was updated successfully, but these errors were encountered: