absolute_paths
can trigger on code produced by a macro
#13920
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
It looks like
absolute_paths
isn't properly "shielded" from macro code as something as simple as derivingserde::Deserialize
on any type that holds another type with a generic sets it off.Lint Name
absolute_paths
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
Nothing, obviously. There are no absolute paths in non-macro generated code here.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: