about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-08 07:24:17 +0000
committerbors <bors@rust-lang.org>2024-04-08 07:24:17 +0000
commit1c9e96536bd369d67bf94d0f8b0c105960f0d400 (patch)
treedf1ec87a34e10215afc5923ecbd46e8ed84d2338 /tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs
parent367f7aac5a55598406b20cb78dcac2f06f74505d (diff)
parentac18c24fe80a59a4a2d093165230924e0abeed7d (diff)
downloadrust-1c9e96536bd369d67bf94d0f8b0c105960f0d400.tar.gz
rust-1c9e96536bd369d67bf94d0f8b0c105960f0d400.zip
Auto merge of #12610 - ARandomDev99:manual_unwrap_or_default-12564, r=dswij
[`manual_unwrap_or_default`]: Check for Default trait implementation in initial condition when linting and use `IfLetOrMatch`

Fixes #12564

changelog: Fix [`manual_unwrap_or_default`] false positive when initial `match`/`if let` condition doesn't implement `Default` but the return type does.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions