cargo-clippy
panics on MaybeUninit::<AtomicPtr<T>>::uninit().assume_init()
#128547
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
Here is the MVP code, there must be
MaybeUninit::uninit().assume_init()
forAtomicPtr
with generic typeT
:cargo build
works, butcargo clippy
crashes.Meta
rustc --version --verbose
:stable:
nightly:
Both stable and nightly builds crash.
Error output
Backtrace
stable:
nightly has the same messages.
The text was updated successfully, but these errors were encountered: