rust-lang / rust-lang/rust

[ICE]: `shouldn't be using autoderef_steps outside of typeck`

Open
#152,626 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug I-ICE requires-debug-assertions S-bug-has-test S-has-mcve T-compiler
Dominant language
Rust
Stars
119k
Forks
16.2k
PR merge metrics
PR metrics pending

Description

auto-reduced (treereduce-rust):

enum A<_T: Into<u32>> {}
impl<T> A<T> {
    fn as_ref(&self) -> A<&T> {
        todo!()
    }
}

original:

enum A<_T: Into<u32>> {}
impl<T> A<T>
where
    u32: From<T>,
{
    fn as_ref(&self) -> A<&T> {
        todo!()
    }
}

fn main() {}

Version information

rustc 1.95.0-nightly (29fa07e3d 2026-02-14)
binary: rustc
commit-hash: 29fa07e3dbca35d58c0770042f04ba464eb3db4c
commit-date: 2026-02-14
host: x86_64-unknown-linux-gnu
release: 1.95.0-nightly
LLVM version: 22.1.0

Possibly related line of code:
https://github.com/rust-lang/rust/blob/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/mod.rs#L36-L48

Command:
/home/matthias/.rustup/toolchains/alt-master/bin/rustc

Program output

error[E0392]: type parameter `_T` is never used
 --> /tmp/im/a.rs:1:8
  |
1 | enum A<_T: Into<u32>> {}
  |        ^^ unused type parameter
  |
  = help: consider removing `_T`, referring to it in a field, or using a marker such as `PhantomData`


thread 'rustc' (1597761) panicked at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/mod.rs:42:17:
shouldn't be using autoderef_steps outside of typeck
stack backtrace:
   0:     0x7f47ab8ec280 - std[1e5877f0d085d81d]::backtrace_rs::backtrace::libunwind::trace
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:     0x7f47ab8ec280 - std[1e5877f0d085d81d]::backtrace_rs::backtrace::trace_unsynchronized::<std[1e5877f0d085d81d]::sys::backtrace::_print_fmt::{closure#1}>
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:     0x7f47ab8ec280 - std[1e5877f0d085d81d]::sys::backtrace::_print_fmt
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/sys/backtrace.rs:74:9
   3:     0x7f47ab8ec280 - <<std[1e5877f0d085d81d]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1b5e308650b4a96b]::fmt::Display>::fmt
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/sys/backtrace.rs:44:26
   4:     0x7f47a6f0baee - <core[1b5e308650b4a96b]::fmt::rt::Argument>::fmt
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/fmt/rt.rs:152:76
   5:     0x7f47a6f0baee - core[1b5e308650b4a96b]::fmt::write
   6:     0x7f47ab90469c - std[1e5877f0d085d81d]::io::default_write_fmt::<std[1e5877f0d085d81d]::sys::stdio::unix::Stderr>
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/io/mod.rs:639:11
   7:     0x7f47ab90469c - <std[1e5877f0d085d81d]::sys::stdio::unix::Stderr as std[1e5877f0d085d81d]::io::Write>::write_fmt
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/io/mod.rs:1994:13
   8:     0x7f47ab8b0ec6 - <std[1e5877f0d085d81d]::sys::backtrace::BacktraceLock>::print
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/sys/backtrace.rs:47:9
   9:     0x7f47ab8b0ec6 - std[1e5877f0d085d81d]::panicking::default_hook::{closure#0}
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:292:27
  10:     0x7f47ab8daf91 - std[1e5877f0d085d81d]::panicking::default_hook
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:319:9
  11:     0x7f47a83453e6 - <alloc[27a7d190f1ee572e]::boxed::Box<dyn for<'a, 'b> core[1b5e308650b4a96b]::ops::function::Fn<(&'a std[1e5877f0d085d81d]::panic::PanicHookInfo<'b>,), Output = ()> + core[1b5e308650b4a96b]::marker::Sync + core[1b5e308650b4a96b]::marker::Send> as core[1b5e308650b4a96b]::ops::function::Fn<(&std[1e5877f0d085d81d]::panic::PanicHookInfo,)>>::call
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/alloc/src/boxed.rs:2220:9
  12:     0x7f47a83453e6 - rustc_driver_impl[2ff07c5609ecc78d]::install_ice_hook::{closure#1}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_driver_impl/src/lib.rs:1481:17
  13:     0x7f47a83453e6 - <alloc[27a7d190f1ee572e]::boxed::Box<rustc_driver_impl[2ff07c5609ecc78d]::install_ice_hook::{closure#1}> as core[1b5e308650b4a96b]::ops::function::Fn<(&dyn for<'a, 'b> core[1b5e308650b4a96b]::ops::function::Fn<(&'a std[1e5877f0d085d81d]::panic::PanicHookInfo<'b>,), Output = ()> + core[1b5e308650b4a96b]::marker::Sync + core[1b5e308650b4a96b]::marker::Send, &std[1e5877f0d085d81d]::panic::PanicHookInfo)>>::call
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/alloc/src/boxed.rs:2220:9
  14:     0x7f47a83453e6 - std[1e5877f0d085d81d]::panicking::update_hook::<alloc[27a7d190f1ee572e]::boxed::Box<rustc_driver_impl[2ff07c5609ecc78d]::install_ice_hook::{closure#1}>>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:235:47
  15:     0x7f47ab8db32a - <alloc[27a7d190f1ee572e]::boxed::Box<dyn for<'a, 'b> core[1b5e308650b4a96b]::ops::function::Fn<(&'a std[1e5877f0d085d81d]::panic::PanicHookInfo<'b>,), Output = ()> + core[1b5e308650b4a96b]::marker::Sync + core[1b5e308650b4a96b]::marker::Send> as core[1b5e308650b4a96b]::ops::function::Fn<(&std[1e5877f0d085d81d]::panic::PanicHookInfo,)>>::call
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/alloc/src/boxed.rs:2220:9
  16:     0x7f47ab8db32a - std[1e5877f0d085d81d]::panicking::panic_with_hook
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:833:13
  17:     0x7f47ab8b0fba - std[1e5877f0d085d81d]::panicking::panic_handler::{closure#0}
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:691:13
  18:     0x7f47ab89ca29 - std[1e5877f0d085d81d]::sys::backtrace::__rust_end_short_backtrace::<std[1e5877f0d085d81d]::panicking::panic_handler::{closure#0}, !>
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/sys/backtrace.rs:182:18
  19:     0x7f47ab8b2edd - __rustc[aa26d802e41153f]::rust_begin_unwind
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:689:5
  20:     0x7f47a6f0c51c - core[1b5e308650b4a96b]::panicking::panic_fmt
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/panicking.rs:80:14
  21:     0x7f47ab257eea - <rustc_infer[702b94eef9c5480b]::infer::InferCtxt as rustc_trait_selection[7814ddde565bab05]::error_reporting::InferCtxtErrorExt>::err_ctxt::{closure#1}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/mod.rs:42:17
  22:     0x7f47ab300030 - <alloc[27a7d190f1ee572e]::boxed::Box<dyn core[1b5e308650b4a96b]::ops::function::Fn<(rustc_middle[eaeffcc72b65ab34]::ty::Ty,), Output = alloc[27a7d190f1ee572e]::vec::Vec<(rustc_middle[eaeffcc72b65ab34]::ty::Ty, thin_vec[5a931217d47f6849]::ThinVec<rustc_infer[702b94eef9c5480b]::traits::Obligation<rustc_middle[eaeffcc72b65ab34]::ty::predicate::Predicate>>)>>> as core[1b5e308650b4a96b]::ops::function::Fn<(rustc_middle[eaeffcc72b65ab34]::ty::Ty,)>>::call
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/alloc/src/boxed.rs:2220:9
  23:     0x7f47ab300030 - <rustc_trait_selection[7814ddde565bab05]::error_reporting::TypeErrCtxt>::find_explicit_cast_type
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:2969:26
  24:     0x7f47ab2ac2d9 - <rustc_trait_selection[7814ddde565bab05]::error_reporting::TypeErrCtxt>::report_selection_error
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:287:57
  25:     0x7f47ab3190f3 - <rustc_trait_selection[7814ddde565bab05]::error_reporting::TypeErrCtxt>::report_fulfillment_error
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/traits/mod.rs:306:71
  26:     0x7f47ab3190f3 - <rustc_trait_selection[7814ddde565bab05]::error_reporting::TypeErrCtxt>::report_fulfillment_errors
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_trait_selection/src/error_reporting/traits/mod.rs:259:41
  27:     0x7f47a86bf889 - rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::enter_wf_checking_ctxt::<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_associated_item::{closure#0}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_hir_analysis/src/check/wfcheck.rs:151:37
  28:     0x7f47a891b04d - rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_associated_item
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_hir_analysis/src/check/wfcheck.rs:935:5
  29:     0x7f47a88e8b6c - rustc_hir_analysis[f1797e91e7147578]::check::check::check_item_type
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_hir_analysis/src/check/check.rs:1053:27
  30:     0x7f47a8913a5c - rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_well_formed
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_hir_analysis/src/check/wfcheck.rs:199:19
  31:     0x7f47aa85d3ff - rustc_query_impl[2a1530e85347702e]::query_impl::check_well_formed::invoke_provider_fn::__rust_begin_short_backtrace
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/plumbing.rs:293:9
  32:     0x7f47aa637a4d - <rustc_query_impl[2a1530e85347702e]::SemiDynamicQueryDispatcher<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>>::invoke_provider
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/lib.rs:127:9
  33:     0x7f47aa637a4d - rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/execution.rs:420:72
  34:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context::<rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:59:9
  35:     0x7f47aa637a4d - <std[1e5877f0d085d81d]::thread::local::LocalKey<core[1b5e308650b4a96b]::cell::Cell<*const ()>>>::try_with::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context<rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/thread/local.rs:513:12
  36:     0x7f47aa637a4d - <std[1e5877f0d085d81d]::thread::local::LocalKey<core[1b5e308650b4a96b]::cell::Cell<*const ()>>>::with::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context<rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/thread/local.rs:477:20
  37:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context::<rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:56:9
  38:     0x7f47aa637a4d - <rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query::<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/plumbing.rs:118:13
  39:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_related_context::<<rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:111:9
  40:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_context::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_related_context<<rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:89:36
  41:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_context_opt::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_context<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_related_context<<rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:78:18
  42:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_context::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_related_context<<rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:89:5
  43:     0x7f47aa637a4d - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::with_related_context::<<rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>::{closure#0}, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:102:5
  44:     0x7f47aa637a4d - <rustc_query_impl[2a1530e85347702e]::plumbing::QueryCtxt>::start_query::<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/plumbing.rs:102:9
  45:     0x7f47aa637a4d - rustc_query_impl[2a1530e85347702e]::execution::execute_job_non_incr::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/execution.rs:420:22
  46:     0x7f47aa637a4d - rustc_query_impl[2a1530e85347702e]::execution::execute_job::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}, false>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/execution.rs:357:9
  47:     0x7f47aa637a4d - rustc_query_impl[2a1530e85347702e]::execution::try_execute_query::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}, false>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/execution.rs:309:13
  48:     0x7f47aa85d2b3 - rustc_query_impl[2a1530e85347702e]::execution::get_query_non_incr::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/execution.rs:640:32
  49:     0x7f47aa85d2b3 - stacker[ed7d5ee4e321b7c0]::maybe_grow::<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::get_query_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>
                               at /rust/deps/stacker-0.1.21/src/lib.rs:57:9
  50:     0x7f47aa85d2b3 - rustc_data_structures[9ee8449a1de41225]::stack::ensure_sufficient_stack::<rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_impl[2a1530e85347702e]::execution::get_query_non_incr<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>::{closure#0}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_data_structures/src/stack.rs:21:5
  51:     0x7f47aa85d2b3 - rustc_query_impl[2a1530e85347702e]::execution::get_query_non_incr::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, {rustc_query_impl[2a1530e85347702e]::QueryFlags { is_anon: false, is_depth_limit: false, is_feedable: false }}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/execution.rs:640:5
  52:     0x7f47aa85d2b3 - rustc_query_impl[2a1530e85347702e]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_query_impl/src/plumbing.rs:582:26
  53:     0x7f47a86d2679 - rustc_middle[eaeffcc72b65ab34]::query::inner::query_ensure_error_guaranteed::<rustc_data_structures[9ee8449a1de41225]::vec_cache::VecCache<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId, rustc_middle[eaeffcc72b65ab34]::query::erase::ErasedData<[u8; 1usize]>, rustc_query_system[5bf54776c8b3a96e]::dep_graph::graph::DepNodeIndex>, ()>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/query/inner.rs:85:9
  54:     0x7f47a890a67b - <rustc_middle[eaeffcc72b65ab34]::query::plumbing::TyCtxtEnsureOk>::check_well_formed::<rustc_span[ddda5680b4e52dcb]::def_id::LocalDefId>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/query/plumbing.rs:208:9
  55:     0x7f47a890a67b - rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_hir_analysis/src/check/wfcheck.rs:2341:58
  56:     0x7f47a890a67b - <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items::<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/hir/mod.rs:127:58
  57:     0x7f47a890a67b - rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in::<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_data_structures/src/sync/parallel.rs:202:55
  58:     0x7f47a890a67b - <core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}> as core[1b5e308650b4a96b]::ops::function::FnOnce<()>>::call_once
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/panic/unwind_safe.rs:274:9
  59:     0x7f47a890a67b - std[1e5877f0d085d81d]::panicking::catch_unwind::do_call::<core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, core[1b5e308650b4a96b]::result::Result<(), rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:581:40
  60:     0x7f47a890a67b - std[1e5877f0d085d81d]::panicking::catch_unwind::<core[1b5e308650b4a96b]::result::Result<(), rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed>, core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:544:19
  61:     0x7f47a890a67b - std[1e5877f0d085d81d]::panic::catch_unwind::<core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, core[1b5e308650b4a96b]::result::Result<(), rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panic.rs:359:14
  62:     0x7f47a890a67b - <rustc_data_structures[9ee8449a1de41225]::sync::parallel::ParallelGuard>::run::<core[1b5e308650b4a96b]::result::Result<(), rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed>, rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_data_structures/src/sync/parallel.rs:23:9
  63:     0x7f47a890a67b - rustc_data_structures[9ee8449a1de41225]::sync::parallel::try_par_for_each_in::<&[rustc_hir[46a07c02efb25fb4]::hir::ImplItemId], rustc_span[ddda5680b4e52dcb]::ErrorGuaranteed, <rustc_middle[eaeffcc72b65ab34]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[f1797e91e7147578]::check::wfcheck::check_type_wf::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_data_structures/src/sync/parallel.rs:202:48


< snip > 
 
 129:     0x7f47a8350923 - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context::<<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>::enter<rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#1}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:59:9
 130:     0x7f47a8350923 - <std[1e5877f0d085d81d]::thread::local::LocalKey<core[1b5e308650b4a96b]::cell::Cell<*const ()>>>::try_with::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context<<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>::enter<rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#1}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/thread/local.rs:513:12
 131:     0x7f47a8350923 - <std[1e5877f0d085d81d]::thread::local::LocalKey<core[1b5e308650b4a96b]::cell::Cell<*const ()>>>::with::<rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context<<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>::enter<rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#1}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/thread/local.rs:477:20
 132:     0x7f47a8350923 - rustc_middle[eaeffcc72b65ab34]::ty::context::tls::enter_context::<<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>::enter<rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>::{closure#1}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context/tls.rs:56:9
 133:     0x7f47a8350923 - <rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>::enter::<rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context.rs:860:9
 134:     0x7f47a8350923 - <rustc_middle[eaeffcc72b65ab34]::ty::context::TyCtxt>::create_global_ctxt::<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_middle/src/ty/context.rs:1067:13
 135:     0x7f47a8350923 - rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt::<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/passes.rs:985:9
 136:     0x7f47a8350923 - <rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[1b5e308650b4a96b]::ops::function::FnOnce<(&rustc_session[bb9334b228a61dc1]::session::Session, rustc_middle[eaeffcc72b65ab34]::ty::context::CurrentGcx, alloc[27a7d190f1ee572e]::sync::Arc<rustc_data_structures[9ee8449a1de41225]::jobserver::Proxy>, &std[1e5877f0d085d81d]::sync::once_lock::OnceLock<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>, &rustc_data_structures[9ee8449a1de41225]::sync::worker_local::WorkerLocal<rustc_middle[eaeffcc72b65ab34]::arena::Arena>, &rustc_data_structures[9ee8449a1de41225]::sync::worker_local::WorkerLocal<rustc_hir[46a07c02efb25fb4]::Arena>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/ops/function.rs:250:5
 137:     0x7f47a832e655 - <alloc[27a7d190f1ee572e]::boxed::Box<dyn for<'a> core[1b5e308650b4a96b]::ops::function::FnOnce<(&'a rustc_session[bb9334b228a61dc1]::session::Session, rustc_middle[eaeffcc72b65ab34]::ty::context::CurrentGcx, alloc[27a7d190f1ee572e]::sync::Arc<rustc_data_structures[9ee8449a1de41225]::jobserver::Proxy>, &'a std[1e5877f0d085d81d]::sync::once_lock::OnceLock<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[9ee8449a1de41225]::sync::worker_local::WorkerLocal<rustc_middle[eaeffcc72b65ab34]::arena::Arena<'a>>, &'a rustc_data_structures[9ee8449a1de41225]::sync::worker_local::WorkerLocal<rustc_hir[46a07c02efb25fb4]::Arena<'a>>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}), Output = core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>>> as core[1b5e308650b4a96b]::ops::function::FnOnce<(&rustc_session[bb9334b228a61dc1]::session::Session, rustc_middle[eaeffcc72b65ab34]::ty::context::CurrentGcx, alloc[27a7d190f1ee572e]::sync::Arc<rustc_data_structures[9ee8449a1de41225]::jobserver::Proxy>, &std[1e5877f0d085d81d]::sync::once_lock::OnceLock<rustc_middle[eaeffcc72b65ab34]::ty::context::GlobalCtxt>, &rustc_data_structures[9ee8449a1de41225]::sync::worker_local::WorkerLocal<rustc_middle[eaeffcc72b65ab34]::arena::Arena>, &rustc_data_structures[9ee8449a1de41225]::sync::worker_local::WorkerLocal<rustc_hir[46a07c02efb25fb4]::Arena>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2})>>::call_once
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/alloc/src/boxed.rs:2206:9
 138:     0x7f47a832e655 - rustc_interface[ae8b0dd97e8e51a1]::passes::create_and_enter_global_ctxt::<core[1b5e308650b4a96b]::option::Option<rustc_interface[ae8b0dd97e8e51a1]::queries::Linker>, rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}::{closure#2}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/passes.rs:1026:5
 139:     0x7f47a834b6c2 - rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_driver_impl/src/lib.rs:303:22
 140:     0x7f47a834b6c2 - rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler::<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/interface.rs:510:80
 141:     0x7f47a834b6c2 - <core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}::{closure#0}> as core[1b5e308650b4a96b]::ops::function::FnOnce<()>>::call_once
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/panic/unwind_safe.rs:274:9
 142:     0x7f47a834b6c2 - std[1e5877f0d085d81d]::panicking::catch_unwind::do_call::<core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:581:40
 143:     0x7f47a834b6c2 - std[1e5877f0d085d81d]::panicking::catch_unwind::<(), core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:544:19
 144:     0x7f47a834b6c2 - std[1e5877f0d085d81d]::panic::catch_unwind::<core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panic.rs:359:14
 145:     0x7f47a834b6c2 - rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler::<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/interface.rs:510:23
 146:     0x7f47a83306f5 - rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals::<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/util.rs:203:17
 147:     0x7f47a83306f5 - rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals::<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/util.rs:158:24
 148:     0x7f47a83306f5 - <scoped_tls[c2dfd963d8ca275b]::ScopedKey<rustc_span[ddda5680b4e52dcb]::SessionGlobals>>::set::<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
                               at /rust/deps/scoped-tls-1.0.1/src/lib.rs:137:9
 149:     0x7f47a83306f5 - rustc_span[ddda5680b4e52dcb]::create_session_globals_then::<(), rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_span/src/lib.rs:141:21
 150:     0x7f47a83306f5 - rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals::<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/compiler/rustc_interface/src/util.rs:154:17
 151:     0x7f47a83306f5 - std[1e5877f0d085d81d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/sys/backtrace.rs:166:18
 152:     0x7f47a8352dd1 - std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked::<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/thread/lifecycle.rs:91:13
 153:     0x7f47a8352dd1 - <core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}> as core[1b5e308650b4a96b]::ops::function::FnOnce<()>>::call_once
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/panic/unwind_safe.rs:274:9
 154:     0x7f47a8352dd1 - std[1e5877f0d085d81d]::panicking::catch_unwind::do_call::<core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:581:40
 155:     0x7f47a8352dd1 - std[1e5877f0d085d81d]::panicking::catch_unwind::<(), core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panicking.rs:544:19
 156:     0x7f47a8352dd1 - std[1e5877f0d085d81d]::panic::catch_unwind::<core[1b5e308650b4a96b]::panic::unwind_safe::AssertUnwindSafe<std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/panic.rs:359:14
 157:     0x7f47a8352dd1 - std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked::<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/thread/lifecycle.rs:89:26
 158:     0x7f47a8352dd1 - <std[1e5877f0d085d81d]::thread::lifecycle::spawn_unchecked<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_with_globals<rustc_interface[ae8b0dd97e8e51a1]::util::run_in_thread_pool_with_globals<rustc_interface[ae8b0dd97e8e51a1]::interface::run_compiler<(), rustc_driver_impl[2ff07c5609ecc78d]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[1b5e308650b4a96b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /rustc-dev/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/core/src/ops/function.rs:250:5
 159:     0x7f47ab8e90ff - <alloc[27a7d190f1ee572e]::boxed::Box<dyn core[1b5e308650b4a96b]::ops::function::FnOnce<(), Output = ()> + core[1b5e308650b4a96b]::marker::Send> as core[1b5e308650b4a96b]::ops::function::FnOnce<()>>::call_once
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/alloc/src/boxed.rs:2206:9
 160:     0x7f47ab8e90ff - <std[1e5877f0d085d81d]::sys::thread::unix::Thread>::new::thread_start
                               at /rustc/29fa07e3dbca35d58c0770042f04ba464eb3db4c/library/std/src/sys/thread/unix.rs:118:17
 161:     0x7f47a56a598b - <unknown>
 162:     0x7f47a5729a0c - <unknown>
 163:                0x0 - <unknown>

error: the compiler unexpectedly panicked. This is a bug

note: 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 make sure that you have updated to the latest nightly

note: rustc 1.95.0-nightly (29fa07e3d 2026-02-14) running on x86_64-unknown-linux-gnu

query stack during panic:
#0 [check_well_formed] checking that `<impl at /tmp/icemaker_global_tempdir.Zd6xrkI3ej10/rustc_testrunner_tmpdir_reporting.f0X44yW3P4Px/mvce.rs:2:1: 2:13>::as_ref` is well-formed
#1 [check_type_wf] checking that types are well-formed
#2 [analysis] running analysis passes on crate `mvce`
end of query stack
error: aborting due to 4 previous errors

Some errors have detailed explanations: E0277, E0392, E0601.
For more information about an error, try `rustc --explain E0277`.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reduced example in a.rs with rustc, then inspect compiler/rustc_trait_selection/src/error_reporting/mod.rs around line 42 and the find_explicit_cast_type entry point in fulfillment_errors.rs. Trace the call from wfcheck.rs to determine why autoderef_steps is accessed outside typeck. Done means the example reports its compiler errors without an internal compiler error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.