Expand description
Passes that effect some kind of normalization on the crate.
Modules§
- expand_
associated_ types - Change trait associated types to be type parameters instead. E.g.
- filter_
unreachable_ blocks - Some passes like
crate::transform::resugar::reconstruct_asserts
lead to the apparition of “dangling” blocks, which are referenced nowhere and thus become unreachable. This pass filters those out. - monomorphize
- Micro-pass: monomorphize all functions and types; at the end of this pass, all functions and types are monomorphic.
- skip_
trait_ refs_ when_ known - transform_
dyn_ trait_ calls - Transform method calls on
&dyn Trait
to vtable function pointer calls.