clippy fix fails: warning: failed to automatically apply fixes suggested by rustc to crate #7392
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
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
I tried this code:
(this is a reduced and largely nonsensical version of the real issue I hit)
With the command: cargo clippy --fix -Z unstable-options --allow-dirty
I expected to see this happen: Clippy cleanup the source code without error.
Instead, this happened: I got a rather long error message, [output.txt] attached.
output.txt
Meta
cargo clippy -V
: e.g. clippy 0.0.212 (f455e46 2020-06-20)rustc -Vv
:Backtrace
The text was updated successfully, but these errors were encountered: