diff options
| author | Catherine Flores <catherine.3.flores@gmail.com> | 2025-03-05 22:35:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-05 22:35:00 +0000 |
| commit | 06e75900f7ef061360ee8c80d8064b8b06ffb712 (patch) | |
| tree | cc9932908ddd63a996eae5d1e69c4a314c12775c /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | ad633bedd6af333727a5514302154af085998cd1 (diff) | |
| parent | 3a39629597b2d2cb7af988580cce949f94116bab (diff) | |
| download | rust-06e75900f7ef061360ee8c80d8064b8b06ffb712.tar.gz rust-06e75900f7ef061360ee8c80d8064b8b06ffb712.zip | |
Refactor function after adding a new diagnostic item (#14306)
The `has_eligible_receiver()` function had been adapted *a minima* when the `sym::ControlFlow` diagnostic item has been added to rustc. This refactors the function content to make its meaning clearer. changelog: none
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
