Skip to content

failed to automatically apply fixes suggested by rustc to crate riscv_emu_rust #14134

Open
@tommythorn

Description

@tommythorn

Summary

$ git clone [email protected]:tommythorn/riscv-rust
$ cd riscv-rust
$ git reset --hard 03cefacbf
$ cargo clippy --fix
    Checking riscv_emu_rust v0.2.0 (..../riscv-rust)
warning: failed to automatically apply fixes suggested by rustc to crate `riscv_emu_rust`
...
and we would appreciate a bug report!

Version

rustc 1.84.1 (e71f9a9a9 2025-01-27)
binary: rustc
commit-hash: e71f9a9a98b0faf423844bf0ba7438f29dc27d58
commit-date: 2025-01-27
host: aarch64-apple-darwin
release: 1.84.1
LLVM version: 19.1.5

Note, this also reproduces with:
rustc 1.86.0-nightly (8239a37f9 2025-02-01)
binary: rustc
commit-hash: 8239a37f9c0951a037cfc51763ea52a20e71e6bd
commit-date: 2025-02-01
host: aarch64-apple-darwin
release: 1.86.0-nightly
LLVM version: 19.1.7

Error output

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when applied

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions