diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-06-20 09:49:31 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-06-20 23:58:26 -0700 |
| commit | a314f7363aa74c4a7fa72233ff7edbbabf917f80 (patch) | |
| tree | 280cd828bdd0e3affc72bdb772c61219ec54b456 /compiler/rustc_pattern_analysis/src/constructor.rs | |
| parent | 4e6de37349c7838df095b085a2640cb6a007c96a (diff) | |
| download | rust-a314f7363aa74c4a7fa72233ff7edbbabf917f80.tar.gz rust-a314f7363aa74c4a7fa72233ff7edbbabf917f80.zip | |
Stop using `unlikely` in `strict_*` methods
It's unnecessary when that arm leads to a `#[cold]` panic anyway, since controlling branch likihood is what `#[cold]` is all about. (And, well, it's unclear whether `unlikely!` even works these days anyway.)
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/constructor.rs')
0 files changed, 0 insertions, 0 deletions
