clippy's lint cast_lossless
replaces macro invocation with macro definition.
#11458
Labels
C-bug
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Summary
Clippy failed with this output. I had cut out the irrelevant parts, since the output was very long (1522 lines). I can still provide it if necessary
This seems to be the lint causing the issue:
It seems like it does not respect boundaries of macros, replacing macro invocation with macro definition.
Reproducer
This is the relevant macro:
It is used here:
This is a part of my larger project. I had tagged the particular version of the source code that clippy had issues with.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: