indexing_slicing
emitting errors on proc-macro code.
#12824
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
T-macros
Type: Issues with macros and macro expansion
Summary
When running the lint while using the
mockall
library I found it was generating lints from inside a proc-macro that are impossible to allow or ignore. This is correctly generating on proc-macro code which violates the lint, but should be squashed as it's coming from inside a proc-macro.Lint Name
indexing_slicing
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
NO lints emitted.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: