ICE when spreading a reference returned by a method #94018
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
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=18b5d1e136c1560a01287bb5466b0228
Meta
rustc --version --verbose
:When running it with beta or nightly it reports the proper error:
Error output
Backtrace
My findings
The original code causing this bug used an
ArcSwap
which I tried to use like that:See: bikeshedder/deadpool@b67b689#diff-3d3a3befe15b287611ab412182035e95cf96ecd0288176897fe353cc87b48767R472
The text was updated successfully, but these errors were encountered: