about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorCatherine Flores <catherine.3.flores@gmail.com>2025-03-05 22:35:00 +0000
committerGitHub <noreply@github.com>2025-03-05 22:35:00 +0000
commit06e75900f7ef061360ee8c80d8064b8b06ffb712 (patch)
treecc9932908ddd63a996eae5d1e69c4a314c12775c /compiler/rustc_pattern_analysis/src/errors.rs
parentad633bedd6af333727a5514302154af085998cd1 (diff)
parent3a39629597b2d2cb7af988580cce949f94116bab (diff)
downloadrust-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