rustc_mir_transform

Module pass_manager

Source

Structs§

Constants§

Traits§

  • MirLint 🔒
    Just like MirPass, except it cannot mutate Body, and MIR dumping is disabled (via the Lint adapter).
  • MirPass 🔒
    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.

Functions§