Difference MIR output emitted from rustc 1.67 and rustc 1.70 #112878
Labels
C-bug
Category: This is a bug.
regression-untriaged
Untriaged performance or correctness regression.
Code
I tried this code:
Running
rustc add.rs --emit mir
produces different results.I expected to see this happen (
version info
: rustc 1.68.0-nightly (afaf3e0 2023-01-14)) :Instead, this happened (
version info
: rustc 1.72.0-nightly (fe7454b 2023-06-19))It seems
ConstProp
is removed from the newer rustc versions, by looking into dumped mir in the nightly build (version 1.68 and 1.72).Is this change permanent? or if anyone could explain the reasons of removing? Thank you.
The text was updated successfully, but these errors were encountered: