Module rustc_mir::transform::const_debuginfo[−][src]

Finds locals which are assigned once to a const and unused except for debuginfo and converts their debuginfo to use the const directly, allowing the local to be removed.

Structs

ConstDebugInfo
LocalUseVisitor

Functions

find_optimization_oportunities