MIR const-prop not putting usize
into AggregateKind::RawPtr
?
#124792
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Discord Context: https://discord.com/channels/273534239310479360/273541522815713281/1236936970912137236
I was surprised in https://rust.godbolt.org/z/hnMT6K4qh to see
Because I would have expected constprop into the Aggregate, like
As happened in other places, like
AggregateKind::RawPtr
is relatively new (#123840), so maybe it needs to be handled properly somewhere else?The text was updated successfully, but these errors were encountered: