mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 14:59:25 +00:00
`Postorder` has a `C: Customization<'tcx>` parameter, that gives it flexibility about how it computes successors. But in practice, there are only two `impls` of `Customization`, and one is for the unit type. This commit simplifies things by removing the generic parameter and replacing it with an `Option`.
For more information about how rustc works, see the rustc dev guide.