manual_unwrap_or_default
invalid suggestion on macro expanded code
#12967
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
manual_unwrap_or_default
invalid suggestion on macro expanded codeReproducer
I tried this code: https://github.com/dj8yfo/clppy_bug/blob/master/src/lib.rs#L1-L10
I expected to see this happen: no clippy suggestion is produced
Instead, this happened:
Version
Additional Notes
It looks like clippy suggests to change this code inside of
darling
macro expansion:Additional Labels
No response
The text was updated successfully, but these errors were encountered: