Skip to content

Rustc ICE while formatting #6847

@ThatGeoGuy

Description

@ThatGeoGuy

I'm not sure what to add here, but all I ran was cargo +nightly fmt --check -p <my-crate> and got some kind of internal compiler error.

My Rustfmt.toml is:

edition = "2021"
style_edition = "2021"
error_on_line_overflow = true
error_on_unformatted = true

and the backtrace is:

rustc-ice-2026-03-30T22_31_13-4055538.txt

I'm not sure why this happening, but I felt I should offer the backtrace!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-unicodeArea: Unicode handlingI-ICEIssue: Internal Compiler Error (ICE) reported by rustfmtS-needs-reproStatus: this issue has no reproduction and needs a reproduction to make progress

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions