Closed
Description
This should be changed to return a ()
Operand::Const
(not Rvalue::Use
of that operand):
rust/src/librustc_mir_build/build/misc.rs
Lines 35 to 37 in 39b6253
These two other places should switch to a ()
Rvalue::Use(Operand::Const(...))
:
rust/src/librustc_mir_build/build/cfg.rs
Line 66 in 39b6253
This issue has been assigned to @lcnr via this comment.