You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at src/tools/rustfmt/src/visitor.rs:668:18:
internal error: entered unreachable code
stack backtrace:
0: _rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: <rustfmt_nightly::visitor::FmtVisitor>::visit_assoc_item
4: <rustfmt_nightly::visitor::FmtVisitor>::with_context::<<rustfmt_nightly::visitor::FmtVisitor>::visit_item::{closure#1}>
5: <rustfmt_nightly::visitor::FmtVisitor>::visit_item
6: <rustfmt_nightly::visitor::FmtVisitor>::visit_items_with_reordering
7: <rustfmt_nightly::visitor::FmtVisitor>::format_separate_mod
8: <rustfmt_nightly::Session<std::io::stdio::Stdout>>::format_input_inner::{closure#0}
9: rustfmt::format_and_emit_report::<std::io::stdio::Stdout>
10: rustfmt::execute
11: rustfmt::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rustfmt/issues/new?labels=bug
note: please make sure that you have updated to the latest nightly
note: please attach the file at `/Volumes/T7/workspace/placeholder_rustexec/0529_others/rustc-ice-2024-05-29T03_40_05-27732.txt` to your bug report
query stack during panic:
end of query stack
The text was updated successfully, but these errors were encountered:
Code
Meta
rustfmt --version
Error Output
Command:
rustfmt
The text was updated successfully, but these errors were encountered: