about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-18 11:28:06 +0100
committerGitHub <noreply@github.com>2021-12-18 11:28:06 +0100
commita391d545cf91f975b6ed4cb65c217e66f46c1ea0 (patch)
tree5baf7b9a6950ba2c9840990b6b23376c026c33db /compiler/rustc_codegen_llvm/src/attributes.rs
parentfedb525e1177636a264d3932abdab8dcb3f59b9a (diff)
parenta995462f9a33195caf447f257eb221e2b664bc1b (diff)
downloadrust-a391d545cf91f975b6ed4cb65c217e66f46c1ea0.tar.gz
rust-a391d545cf91f975b6ed4cb65c217e66f46c1ea0.zip
Rollup merge of #92022 - woodenarrow:br_expected_bool, r=estebank
Eliminate duplicate codes of expected_found_bool

The function expected_found_bool is the same as ExpectedFound::new. So use ExpectedFound::new to replace expected_found_bool to eliminate duplicate codes.

![image](https://user-images.githubusercontent.com/95843988/146486722-c910eccd-a36c-4dc5-8b36-214aab058e38.png)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions