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>2021-12-15 10:57:03 +0100
committerGitHub <noreply@github.com>2021-12-15 10:57:03 +0100
commit13fb05107402f410a31c8652d3b754ee8ac64517 (patch)
tree9a7d1031fedbe8482402d28ff3099aba7a0d59f8 /compiler/rustc_codegen_llvm/src/builder.rs
parent99f4458a8c1bc6c013268b752074516ddb186051 (diff)
parent4f4b2c7271d3090b6b63bf1ce8373a47b5b30d86 (diff)
downloadrust-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