diff options
| author | bors <bors@rust-lang.org> | 2024-06-22 10:54:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-22 10:54:53 +0000 |
| commit | d03d6c0fead582c98c6446ec92456ca8fd03ff65 (patch) | |
| tree | f6de5b8fb96542402f5f756e16dd6872c62911d1 /compiler/rustc_pattern_analysis/src/constructor.rs | |
| parent | f1b0d54ca9a5ea43950c279985a6e12dcf387de8 (diff) | |
| parent | a314f7363aa74c4a7fa72233ff7edbbabf917f80 (diff) | |
| download | rust-d03d6c0fead582c98c6446ec92456ca8fd03ff65.tar.gz rust-d03d6c0fead582c98c6446ec92456ca8fd03ff65.zip | |
Auto merge of #126750 - scottmcm:less-unlikely, r=jhpratt
Stop using `unlikely` in `strict_*` methods The `strict_*` methods don't need (un)likely, because the `overflow_panic` calls are all `#[cold]`, [meaning](https://llvm.org/docs/LangRef.html#function-attributes) that LLVM knows any branch to them is unlikely without us needing to say so. r? libs
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/constructor.rs')
0 files changed, 0 insertions, 0 deletions
