False positive for uninit lint #10551
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
Code like this produces an erroneous lint emission despite the code being safe (
MaybeUninit<T>
has no inhabitants).Lint Name
uninit_assumed_init
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
nothing
Version
No response
Additional Labels
No response
The text was updated successfully, but these errors were encountered: