thread 'rustc' panicked at 'no errors encountered even though delay_span_bug
issued
#93968
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e94948546902a54e2ba4e1fab9ec5eee
The compiler doesn't seem to crash on Beta nor on Nightly. However, I was thinking I should report it anyways, wasn't sure if you "accidentally" fixed it or was aware of the issue from another bug report and fixed it. I suppose the suggestion could also be improved. To make the code work I need to do the following:
*read_increament_id.lock().await = i;
which I suppose could have been suggested by the compiler?Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: