Skip to content

ICE when running cargo fmt -- --config-path ../foo/bar.toml with unstable ignore feature #6843

@davidgauch

Description

@davidgauch

How to reproduce:

docker run -it rustlang/rust:nightly-slim
root@26e4ec332226:/# mkdir foo
echo "ignore=[\"baz\"]" > foo/bar.toml
cargo new app
rustup component add rustfmt
cd app
cargo fmt -- --config-path ../foo/bar.toml

rustc-ice-2026-03-25T23_58_59-228.txt

Metadata

Metadata

Assignees

Labels

I-ICEIssue: Internal Compiler Error (ICE) reported by rustfmtP-lowLow priority

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