Module rustc_const_eval::transform [−][src]
Modules
Check the bodies of const
s, static
s and const fn
s for illegal operations.
A pass that promotes borrows of constant rvalues.
Validates the MIR to ensure that invariants are upheld.
Traits
A streamlined trait that you can implement to create a pass; the
pass will be named after the type, and it will consist of a main
loop that goes over each available MIR and applies run_pass
.