rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
96.87k stars 12.52k forks source link

cargo install dprint #103936

Closed rminnich closed 4 months ago

rminnich commented 1 year ago

Meta

rustc --version --verbose:

note: rustc 1.66.0-nightly (db0597f56 2022-10-11) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no

Error output

thread 'rustc' panicked at 'unexpected unresolved segments', /rustc/db0597f5619d5ed93feca28e61226d3581cc7867/compiler/rustc_hir/src/def.rs:475:9
stack backtrace:
Backtrace

``` ```

Noratrieb commented 1 year ago

Running cargo install dprint with the latest nightly, I cannot reproduce this.

On your nightly version 2022-10-11, I do get an ICE, but a different one: error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:966:9: no MIR available for DefId(20:1395 ~ cranelift_codegen[fd4a]::machinst::buffer::{impl#3}::relocs)

Can you try to reproduce it on the latest nightly version?

Enselic commented 4 months ago

Triage: Let's close as obsolete since the reporter did not respond.