Repository: rust
Issue: inconsistent code paths for panics
Labels: T-compiler,C-bug,A-panic

for example here we can see that the location of the panic starts with a truncated absolute path:
```
error: this operation will panic at runtime
 --> ices/121126.rs:2:22
  |
2 |     let _n = 1i64 >> [64][4_294_967_295];
  |                      ^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 4294967295
  |
  = note: `#[deny(unconditional_panic)]` on by default

thread 'rustc' panicked at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/compiler/rustc_target/src/abi/mod.rs:22:1:
assertion failed: value <= 0xFFFF_FF00
stack backtrace:
   0:     0x7f5c32f8cab5 - std::backtrace_rs::backtrace::libunwind::trace::hba9744a938fbd99d
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
   1:     0x7f5c32f8cab5 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a2e7108b86b8924
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f5c32f8cab5 - std::sys_common::backtrace::_print_fmt::h3a6cfbae8221b005
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7f5c32f8cab5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9ca10d4d97dfbf60
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f5c32fdbd0b - core::fmt::rt::Argument::fmt::hb38b7803d8fbf2a9
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/fmt/rt.rs:142:9
   5:     0x7f5c32fdbd0b - core::fmt::write::h6b7f853053adddb6
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/fmt/mod.rs:1153:17
   6:     0x7f5c32f8171f - std::io::Write::write_fmt::hde1e35e2fc064f95
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/io/mod.rs:1843:15
   7:     0x7f5c32f8c88e - std::sys_common::backtrace::_print::h4dd5f8979d76d49c
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f5c32f8c88e - std::sys_common::backtrace::print::hfe97bcdddb82ade7
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f5c32f8f2d9 - std::panicking::default_hook::{{closure}}::h632142882587e5b1
  10:     0x7f5c32f8f043 - std::panicking::default_hook::hfd47c2bd9a787ae3
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:291:9
  11:     0x7f5c35ff7d5e - std[92a9a0c9ca3eface]::panicking::update_hook::<alloc[f20f85c149f776b2]::boxed::Box<rustc_driver_impl[fad2ca4cadd64c2c]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f5c32f8f9dc - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd1914707f70617da
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/alloc/src/boxed.rs:2032:9
  13:     0x7f5c32f8f9dc - std::panicking::rust_panic_with_hook::hd4eb87c015b3b6b4
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:792:13
  14:     0x7f5c32f8f74d - std::panicking::begin_panic_handler::{{closure}}::h07b4a7d39602845d
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:649:13
  15:     0x7f5c32f8cf79 - std::sys_common::backtrace::__rust_end_short_backtrace::h5fec33cfc7c51449
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f5c32f8f4b7 - rust_begin_unwind
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:645:5
  17:     0x7f5c32fd81a6 - core::panicking::panic_fmt::hd6539c62a2ef69d4
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/panicking.rs:72:14
  18:     0x7f5c32fd824f - core::panicking::panic::hcf372ea82b4a6a03
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/panicking.rs:141:5
  19:     0x7f5c38a63a00 - <rustc_mir_transform[7706bed118d1b4dc]::known_panics_lint::ConstPropagator>::get_const.cold
  20:     0x7f5c34d7e7a6 - <rustc_mir_transform[7706bed118d1b4dc]::known_panics_lint::ConstPropagator as rustc_middle[bc908219bd555002]::mir::visit::Visitor>::visit_assign
  21:     0x7f5c37dbbfbb - <rustc_mir_transform[7706bed118d1b4dc]::known_panics_lint::ConstPropagator as rustc_middle[bc908219bd555002]::mir::visit::Visitor>::visit_body
  22:     0x7f5c34ceb200 - <rustc_mir_transform[7706bed118d1b4dc]::known_panics_lint::KnownPanicsLint as rustc_mir_transform[7706bed118d1b4dc]::pass_manager::MirLint>::run_lint
  23:     0x7f5c3740184d - rustc_mir_transform[7706bed118d1b4dc]::pass_manager::run_passes_inner
  24:     0x7f5c37b4268b - rustc_mir_transform[7706bed118d1b4dc]::mir_drops_elaborated_and_const_checked
  25:     0x7f5c37b41fa9 - rustc_query_impl[6e57580506510786]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6e57580506510786]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 8usize]>>
  26:     0x7f5c375de2f1 - rustc_query_system[43bff95233291c34]::query::plumbing::try_execute_query::<rustc_query_impl[6e57580506510786]::DynamicConfig<rustc_query_system[43bff95233291c34]::query::caches::VecCache<rustc_span[d2e6fbfc0de2a1c0]::def_id::LocalDefId, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[6e57580506510786]::plumbing::QueryCtxt, false>
  27:     0x7f5c375ddc8c - rustc_query_impl[6e57580506510786]::query_impl::mir_drops_elaborated_and_const_checked::get_query_non_incr::__rust_end_short_backtrace
  28:     0x7f5c378e89f2 - rustc_interface[c5dbac1485b725b8]::passes::analysis
  29:     0x7f5c378e77db - rustc_query_impl[6e57580506510786]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6e57580506510786]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 1usize]>>
  30:     0x7f5c381c8625 - rustc_query_system[43bff95233291c34]::query::plumbing::try_execute_query::<rustc_query_impl[6e57580506510786]::DynamicConfig<rustc_query_system[43bff95233291c34]::query::caches::SingleCache<rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6e57580506510786]::plumbing::QueryCtxt, false>
  31:     0x7f5c381c8389 - rustc_query_impl[6e57580506510786]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  32:     0x7f5c38043422 - rustc_interface[c5dbac1485b725b8]::interface::run_compiler::<core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>, rustc_driver_impl[fad2ca4cadd64c2c]::run_compiler::{closure#0}>::{closure#0}
  33:     0x7f5c38110213 - std[92a9a0c9ca3eface]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_with_globals<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_pool_with_globals<rustc_interface[c5dbac1485b725b8]::interface::run_compiler<core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>, rustc_driver_impl[fad2ca4cadd64c2c]::run_compiler::{closure#0}>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>
  34:     0x7f5c38110021 - <<std[92a9a0c9ca3eface]::thread::Builder>::spawn_unchecked_<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_with_globals<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_pool_with_globals<rustc_interface[c5dbac1485b725b8]::interface::run_compiler<core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>, rustc_driver_impl[fad2ca4cadd64c2c]::run_compiler::{closure#0}>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#1} as core[41c2f7771ee504b7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  35:     0x7f5c32f993fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2e19bec40cb63999
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/alloc/src/boxed.rs:2018:9
  36:     0x7f5c32f993fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he36b8da4bff43b93
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/alloc/src/boxed.rs:2018:9
  37:     0x7f5c32f993fb - std::sys::pal::unix::thread::Thread::new::thread_start::h6b09958d0e879109
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys/pal/unix/thread.rs:108:17
  38:     0x7f5c32c94ac3 - start_thread
                               at ./nptl/pthread_create.c:442:8
  39:     0x7f5c32d26850 - __GI___clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  40:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

note: it seems that this compiler `1.79.0-nightly (4fd4797c2 2024-04-03)` is outdated, a newer nightly should have been released in the mean time
  |
  = note: please consider running `rustup update nightly` to update the nightly channel and check if this problem still persists
  = note: if the problem still persists, we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please attach the file at `/home/gh-matthiaskrgr/glacier2_fz/rustc-ice-2024-04-04T21_01_19-3530987.txt` to your bug report

query stack during panic:
#0 [mir_drops_elaborated_and_const_checked] elaborating drops for `main`
#1 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 1 previous error
```

wheres here:

````
thread 'rustc' panicked at compiler/rustc_ast_lowering/src/lib.rs:531:55:
no entry for node id: `NodeId(51)`
stack backtrace:
   0:     0x7f171d98cab5 - std::backtrace_rs::backtrace::libunwind::trace::hba9744a938fbd99d
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
   1:     0x7f171d98cab5 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a2e7108b86b8924
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f171d98cab5 - std::sys_common::backtrace::_print_fmt::h3a6cfbae8221b005
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7f171d98cab5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9ca10d4d97dfbf60
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f171d9dbd0b - core::fmt::rt::Argument::fmt::hb38b7803d8fbf2a9
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/fmt/rt.rs:142:9
   5:     0x7f171d9dbd0b - core::fmt::write::h6b7f853053adddb6
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/fmt/mod.rs:1153:17
   6:     0x7f171d98171f - std::io::Write::write_fmt::hde1e35e2fc064f95
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/io/mod.rs:1843:15
   7:     0x7f171d98c88e - std::sys_common::backtrace::_print::h4dd5f8979d76d49c
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f171d98c88e - std::sys_common::backtrace::print::hfe97bcdddb82ade7
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f171d98f2d9 - std::panicking::default_hook::{{closure}}::h632142882587e5b1
  10:     0x7f171d98f043 - std::panicking::default_hook::hfd47c2bd9a787ae3
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:291:9
  11:     0x7f17209f7d5e - std[92a9a0c9ca3eface]::panicking::update_hook::<alloc[f20f85c149f776b2]::boxed::Box<rustc_driver_impl[fad2ca4cadd64c2c]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f171d98f9dc - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd1914707f70617da
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/alloc/src/boxed.rs:2032:9
  13:     0x7f171d98f9dc - std::panicking::rust_panic_with_hook::hd4eb87c015b3b6b4
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:792:13
  14:     0x7f171d98f786 - std::panicking::begin_panic_handler::{{closure}}::h07b4a7d39602845d
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:657:13
  15:     0x7f171d98cf79 - std::sys_common::backtrace::__rust_end_short_backtrace::h5fec33cfc7c51449
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f171d98f4b7 - rust_begin_unwind
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/panicking.rs:645:5
  17:     0x7f171d9d81a6 - core::panicking::panic_fmt::hd6539c62a2ef69d4
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/core/src/panicking.rs:72:14
  18:     0x7f1722464641 - <rustc_ast_lowering[b2f3f7430e089514]::LoweringContext>::lower_ty_direct
  19:     0x7f17206ccb91 - <rustc_ast_lowering[b2f3f7430e089514]::LoweringContext>::lower_ty
  20:     0x7f1722461e05 - <rustc_ast_lowering[b2f3f7430e089514]::LoweringContext>::lower_fn_decl
  21:     0x7f172246d1a0 - <rustc_ast_lowering[b2f3f7430e089514]::LoweringContext>::lower_method_sig
  22:     0x7f172248ec56 - <rustc_ast_lowering[b2f3f7430e089514]::LoweringContext>::lower_assoc_item
  23:     0x7f172248a969 - <rustc_ast_lowering[b2f3f7430e089514]::item::ItemLowerer>::lower_node
  24:     0x7f172248d7e6 - rustc_ast_lowering[b2f3f7430e089514]::lower_to_hir
  25:     0x7f1722bcdbe2 - rustc_query_impl[6e57580506510786]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6e57580506510786]::query_impl::hir_crate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 8usize]>>
  26:     0x7f1722bca574 - rustc_query_system[43bff95233291c34]::query::plumbing::try_execute_query::<rustc_query_impl[6e57580506510786]::DynamicConfig<rustc_query_system[43bff95233291c34]::query::caches::SingleCache<rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[6e57580506510786]::plumbing::QueryCtxt, false>
  27:     0x7f1722bca160 - rustc_query_impl[6e57580506510786]::query_impl::hir_crate::get_query_non_incr::__rust_end_short_backtrace
  28:     0x7f17225866c3 - rustc_query_impl[6e57580506510786]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6e57580506510786]::query_impl::hir_attrs::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 8usize]>>
  29:     0x7f1722585c5b - rustc_query_system[43bff95233291c34]::query::plumbing::try_execute_query::<rustc_query_impl[6e57580506510786]::DynamicConfig<rustc_query_system[43bff95233291c34]::query::caches::VecCache<rustc_hir[6e4bf3607b053c8e]::hir_id::OwnerId, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[6e57580506510786]::plumbing::QueryCtxt, false>
  30:     0x7f17225859c9 - rustc_query_impl[6e57580506510786]::query_impl::hir_attrs::get_query_non_incr::__rust_end_short_backtrace
  31:     0x7f1721f5a82a - <rustc_middle[bc908219bd555002]::hir::map::Map>::attrs
  32:     0x7f1722b99b03 - rustc_passes[782b0c3730f29d80]::entry::entry_fn
  33:     0x7f1722b99a98 - rustc_query_impl[6e57580506510786]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6e57580506510786]::query_impl::entry_fn::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 12usize]>>
  34:     0x7f1722b99a73 - <rustc_query_impl[6e57580506510786]::query_impl::entry_fn::dynamic_query::{closure#2} as core[41c2f7771ee504b7]::ops::function::FnOnce<(rustc_middle[bc908219bd555002]::ty::context::TyCtxt, ())>>::call_once
  35:     0x7f1722b9938a - rustc_query_system[43bff95233291c34]::query::plumbing::try_execute_query::<rustc_query_impl[6e57580506510786]::DynamicConfig<rustc_query_system[43bff95233291c34]::query::caches::SingleCache<rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 12usize]>>, false, false, false>, rustc_query_impl[6e57580506510786]::plumbing::QueryCtxt, false>
  36:     0x7f1722b99145 - rustc_query_impl[6e57580506510786]::query_impl::entry_fn::get_query_non_incr::__rust_end_short_backtrace
  37:     0x7f17222e79ae - rustc_interface[c5dbac1485b725b8]::passes::analysis
  38:     0x7f17222e77db - rustc_query_impl[6e57580506510786]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6e57580506510786]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 1usize]>>
  39:     0x7f1722bc8625 - rustc_query_system[43bff95233291c34]::query::plumbing::try_execute_query::<rustc_query_impl[6e57580506510786]::DynamicConfig<rustc_query_system[43bff95233291c34]::query::caches::SingleCache<rustc_middle[bc908219bd555002]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6e57580506510786]::plumbing::QueryCtxt, false>
  40:     0x7f1722bc8389 - rustc_query_impl[6e57580506510786]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7f1722a43422 - rustc_interface[c5dbac1485b725b8]::interface::run_compiler::<core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>, rustc_driver_impl[fad2ca4cadd64c2c]::run_compiler::{closure#0}>::{closure#0}
  42:     0x7f1722b10213 - std[92a9a0c9ca3eface]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_with_globals<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_pool_with_globals<rustc_interface[c5dbac1485b725b8]::interface::run_compiler<core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>, rustc_driver_impl[fad2ca4cadd64c2c]::run_compiler::{closure#0}>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>
  43:     0x7f1722b10021 - <<std[92a9a0c9ca3eface]::thread::Builder>::spawn_unchecked_<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_with_globals<rustc_interface[c5dbac1485b725b8]::util::run_in_thread_pool_with_globals<rustc_interface[c5dbac1485b725b8]::interface::run_compiler<core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>, rustc_driver_impl[fad2ca4cadd64c2c]::run_compiler::{closure#0}>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[41c2f7771ee504b7]::result::Result<(), rustc_span[d2e6fbfc0de2a1c0]::ErrorGuaranteed>>::{closure#1} as core[41c2f7771ee504b7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7f171d9993fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2e19bec40cb63999
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/alloc/src/boxed.rs:2018:9
  45:     0x7f171d9993fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he36b8da4bff43b93
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/alloc/src/boxed.rs:2018:9
  46:     0x7f171d9993fb - std::sys::pal::unix::thread::Thread::new::thread_start::h6b09958d0e879109
                               at /rustc/4fd4797c2654977f545c9a91e2aa4e6cdbb38919/library/std/src/sys/pal/unix/thread.rs:108:17
  47:     0x7f171d694ac3 - start_thread
                               at ./nptl/pthread_create.c:442:8
  48:     0x7f171d726850 - __GI___clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  49:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

note: it seems that this compiler `1.79.0-nightly (4fd4797c2 2024-04-03)` is outdated, a newer nightly should have been released in the mean time
  |
  = note: please consider running `rustup update nightly` to update the nightly channel and check if this problem still persists
  = note: if the problem still persists, we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please attach the file at `/home/gh-matthiaskrgr/glacier2_fz/rustc-ice-2024-04-04T21_03_46-3531616.txt` to your bug report

query stack during panic:
#0 [hir_crate] getting the crate HIR
#1 [hir_attrs] getting HIR owner attributes in ``
#2 [entry_fn] looking up the entry function of a crate
#3 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 6 previous errors

Some errors have detailed explanations: E0405, E0412, E0425, E0562, E0666, E0670.
For more information about an error, try `rustc --explain E0405`.
````


the path of the panic starts inside the rustc repo at `compiler/..`.
I'm wondering what causes the difference here.