rust/compiler/rustc_middle
Matthias Krüger 72861ea7e2
Rollup merge of #137299 - nnethercote:simplify-PostOrder-customization, r=compiler-errors
Simplify `Postorder` customization.

`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`.

r? ````@saethlin````
2025-02-21 12:45:24 +01:00
..
src Rollup merge of #137299 - nnethercote:simplify-PostOrder-customization, r=compiler-errors 2025-02-21 12:45:24 +01:00
Cargo.toml Make fewer crates depend on rustc_ast_ir 2025-02-19 07:06:54 +00:00
messages.ftl clean up layout error diagnostics 2025-02-18 13:22:45 +01:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.