about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2025-03-20 15:18:29 +0000
committerGitHub <noreply@github.com>2025-03-20 15:18:29 +0000
commitf2feb0f1a9f5ef77249a6fdf66362af079a7f6c6 (patch)
tree04231041648f3d065dbcde04fddbb2efae4ae39e /compiler/rustc_pattern_analysis/src/errors.rs
parent221ae5f1767375c2eb8e9f326db609012d0bcfd0 (diff)
parent90dbc5bf94de29304c18d840c8c90f09f2d32cf6 (diff)
downloadrust-f2feb0f1a9f5ef77249a6fdf66362af079a7f6c6.tar.gz
rust-f2feb0f1a9f5ef77249a6fdf66362af079a7f6c6.zip
make `never_loop` applicability more flexible (#14203)
The applicability of `never_loop` is currently set to `Unspecified`, but
if the loop block does not contain `break` or `continue`, it can be
`MachineApplicable`.

changelog: [`never_loop`]: the applicability is now `MachineApplicable`
when the loop block contains neither `break` nor `continue`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions