about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.rs
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2025-06-20 21:48:57 +0000
committerGitHub <noreply@github.com>2025-06-20 21:48:57 +0000
commit6064822acb6f6829c97b394a1507b01a9de2aa6b (patch)
treecfea458cf580c0f4eb08fcd36ae21d7c7a69801d /tests/coverage/branch/lazy-boolean.rs
parent2c1c746ebd4e49e3578a452a02b9757e33512585 (diff)
parent77ef3d7e42595a646f6b684f451114723a632be9 (diff)
downloadrust-6064822acb6f6829c97b394a1507b01a9de2aa6b.tar.gz
rust-6064822acb6f6829c97b394a1507b01a9de2aa6b.zip
Fix `branches_sharing_code` suggests misleadingly when in assignment (#15076)
The lint will note `the end suggestion probably needs some adjustments
to use the expression result correctly` when the expr's is not unit. So
I extend this note to also appear when the expr is in an assignment.

changelog: [`branches_sharing_code`] fix misleading suggestions when in
assignment
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions