False branches_sharing_code
for bodies with macro call(s)
#14873
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
L-nursery
Lint: Currently in the nursery group
Uh oh!
There was an error while loading. Please reload this page.
Summary
If needed, this is the file (currently editing - line numbers given by the lint may be off by a small amount).
Lint Name
branches_sharing_code
Reproducer
Given:
The
maybe_next_token!
macro takes apat
as the final argument (thus this can't be refactored). Clippy thinks both macro calls are the same when they clearly aren't. Full message:and
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: