disallowed_names
triggers within external macro generated code
#14958
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
Uh oh!
There was an error while loading. Please reload this page.
Summary
disallowed_names
triggers within external macro generated code. I noticed this when trying to removeerr
from a crate as it is used withinsyn::parse_macro_input!
.Lint Name
disallowed_names
Reproducer
I tried this code:
with the config:
I saw this happen:
I expected to see this happen:
No error since the identifier is within an external macro.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: