about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-21 12:45:24 +0100
committerGitHub <noreply@github.com>2025-02-21 12:45:24 +0100
commit72861ea7e2d238c6d1a4cb901eae77f22242d667 (patch)
treecd75c2d8b644a41d9d48510b2123110d66cc2053 /compiler/rustc_codegen_llvm/src/builder.rs
parent15a0403ecf3d3f90c46a698b02f0c9cfac982235 (diff)
parentcae9ebbe1e09c2878d56ab1425d3765f450fd5fe (diff)
downloadrust-72861ea7e2d238c6d1a4cb901eae77f22242d667.tar.gz
rust-72861ea7e2d238c6d1a4cb901eae77f22242d667.zip
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````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions