MIR optimisations in checking


#1

When I compile the code with “-Z no-trans” to just verify the types and perform the borrow checking, I have seen with “-Ztime-passes” that it also performs:

time: 0.127; rss: 177MB MIR optimisations

Is it possible and a good idea for “-Z no-trans” to remove this part too?


#2

Please open an issue on rust-lang/rust about it.


#3

https://github.com/rust-lang/rust/issues/41423