diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-15 10:57:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-15 10:57:03 +0100 |
| commit | 13fb05107402f410a31c8652d3b754ee8ac64517 (patch) | |
| tree | 9a7d1031fedbe8482402d28ff3099aba7a0d59f8 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 99f4458a8c1bc6c013268b752074516ddb186051 (diff) | |
| parent | 4f4b2c7271d3090b6b63bf1ce8373a47b5b30d86 (diff) | |
| download | rust-13fb05107402f410a31c8652d3b754ee8ac64517.tar.gz rust-13fb05107402f410a31c8652d3b754ee8ac64517.zip | |
Rollup merge of #91918 - fee1-dead:constification0-the-great-constification-begins, r=oli-obk
Constify `bool::then{,_some}`
Note on `~const Drop`: it has no effect when called from runtime functions, when called from const contexts, the trait system ensures that the type can be dropped in const contexts.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
