Skip to content

[ICE]: assumptions on binders: assertion failed term == infcx.resolve_vars_if_possible(term) #157862

Description

@matthiaskrgr

Code

reduced from tests/ui/parser/survive-peano-lesson-queue.rs

fn func<E>(f: &dyn Fn(E)) {}
enum E<'a, A> {
    C(&'a A),
}
pub enum Tree<'a> {
    A(&'a str),
}
type D<'a> = &'a E<'a, &'a Tree<'a>>;

struct X<'a> {
    a: &'a str,
}

impl<'a> X<'a> {
    fn fun(cont: &'a  dyn Fn(D)) {
        func(cont)
    }
}

fn main() {}

Meta

rustc --version --verbose:

rustc 1.98.0-nightly (edff07ce1 2026-06-13)
binary: rustc
commit-hash: edff07ce1a97f3eb39d438852ace6c57dd97605e
commit-date: 2026-06-13
host: x86_64-unknown-linux-gnu
release: 1.98.0-nightly
LLVM version: 22.1.6

Error output


Backtrace

thread 'rustc' (127862) panicked at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_trait_selection/src/traits/wf.rs:100:5:
assertion `left == right` failed
  left: Term::Ty((?0t,))
 right: Term::Ty((&'?0 E<'?0, &'?0 Tree<'?0>>,))
stack backtrace:
   0:     0x7f2cdabcb00c - std[f454225e3f267d20]::backtrace_rs::backtrace::libunwind::trace
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:     0x7f2cdabcb00c - std[f454225e3f267d20]::backtrace_rs::backtrace::trace_unsynchronized::<std[f454225e3f267d20]::sys::backtrace::_print_fmt::{closure#1}>
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:     0x7f2cdabcb00c - std[f454225e3f267d20]::sys::backtrace::_print_fmt
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/sys/backtrace.rs:74:9
   3:     0x7f2cdabcb00c - <<std[f454225e3f267d20]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[ea5b88336862a8d]::fmt::Display>::fmt
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/sys/backtrace.rs:44:26
   4:     0x7f2cd5b963ae - <core[ea5b88336862a8d]::fmt::rt::Argument>::fmt
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/fmt/rt.rs:152:76
   5:     0x7f2cd5b963ae - core[ea5b88336862a8d]::fmt::write
   6:     0x7f2cdabe229c - std[f454225e3f267d20]::io::default_write_fmt::<std[f454225e3f267d20]::sys::stdio::unix::Stderr>
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/io/mod.rs:623:11
   7:     0x7f2cdabe229c - <std[f454225e3f267d20]::sys::stdio::unix::Stderr as std[f454225e3f267d20]::io::Write>::write_fmt
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/io/mod.rs:1661:13
   8:     0x7f2cdab8f2f4 - <std[f454225e3f267d20]::sys::backtrace::BacktraceLock>::print
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/sys/backtrace.rs:47:9
   9:     0x7f2cdab8f2f4 - std[f454225e3f267d20]::panicking::default_hook::{closure#0}
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:292:27
  10:     0x7f2cdabb9561 - std[f454225e3f267d20]::panicking::default_hook
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:319:9
  11:     0x7f2cd7084758 - <alloc[aa92d3ca6e015c84]::boxed::Box<dyn for<'a, 'b> core[ea5b88336862a8d]::ops::function::Fn<(&'a std[f454225e3f267d20]::panic::PanicHookInfo<'b>,), Output = ()> + core[ea5b88336862a8d]::marker::Send + core[ea5b88336862a8d]::marker::Sync> as core[ea5b88336862a8d]::ops::function::Fn<(&std[f454225e3f267d20]::panic::PanicHookInfo,)>>::call
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/alloc/src/boxed.rs:2291:9
  12:     0x7f2cd7084758 - rustc_driver_impl[5888b260b5ef9ad1]::install_ice_hook::{closure#1}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_driver_impl/src/lib.rs:1483:17
  13:     0x7f2cd7084758 - <alloc[aa92d3ca6e015c84]::boxed::Box<rustc_driver_impl[5888b260b5ef9ad1]::install_ice_hook::{closure#1}> as core[ea5b88336862a8d]::ops::function::Fn<(&dyn for<'a, 'b> core[ea5b88336862a8d]::ops::function::Fn<(&'a std[f454225e3f267d20]::panic::PanicHookInfo<'b>,), Output = ()> + core[ea5b88336862a8d]::marker::Send + core[ea5b88336862a8d]::marker::Sync, &std[f454225e3f267d20]::panic::PanicHookInfo)>>::call
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/alloc/src/boxed.rs:2291:9
  14:     0x7f2cd7084758 - std[f454225e3f267d20]::panicking::update_hook::<alloc[aa92d3ca6e015c84]::boxed::Box<rustc_driver_impl[5888b260b5ef9ad1]::install_ice_hook::{closure#1}>>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:235:47
  15:     0x7f2cdabb98fa - <alloc[aa92d3ca6e015c84]::boxed::Box<dyn for<'a, 'b> core[ea5b88336862a8d]::ops::function::Fn<(&'a std[f454225e3f267d20]::panic::PanicHookInfo<'b>,), Output = ()> + core[ea5b88336862a8d]::marker::Send + core[ea5b88336862a8d]::marker::Sync> as core[ea5b88336862a8d]::ops::function::Fn<(&std[f454225e3f267d20]::panic::PanicHookInfo,)>>::call
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/alloc/src/boxed.rs:2291:9
  16:     0x7f2cdabb98fa - std[f454225e3f267d20]::panicking::panic_with_hook
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:822:13
  17:     0x7f2cdab8f3c2 - std[f454225e3f267d20]::panicking::panic_handler::{closure#0}
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:687:13
  18:     0x7f2cdab7e1b9 - std[f454225e3f267d20]::sys::backtrace::__rust_end_short_backtrace::<std[f454225e3f267d20]::panicking::panic_handler::{closure#0}, !>
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/sys/backtrace.rs:182:18
  19:     0x7f2cdab9132d - __rustc[d250e26818d767d6]::rust_begin_unwind
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:678:5
  20:     0x7f2cd5b970dc - core[ea5b88336862a8d]::panicking::panic_fmt
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/panicking.rs:80:14
  21:     0x7f2cd5b96f63 - core[ea5b88336862a8d]::panicking::assert_failed_inner
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/panicking.rs:439:17
  22:     0x7f2cda1cae55 - core[ea5b88336862a8d]::panicking::assert_failed::<rustc_middle[d497aa4975fc7ed6]::ty::Term, rustc_middle[d497aa4975fc7ed6]::ty::Term>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/panicking.rs:394:5
  23:     0x7f2cda4bffc2 - rustc_trait_selection[f717ec5c5a405cbe]::traits::wf::unnormalized_obligations
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_trait_selection/src/traits/wf.rs:100:5
  24:     0x7f2cda50bc43 - <rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate as rustc_next_trait_solver[ac91051ba473c5a7]::delegate::SolverDelegate>::well_formed_goals
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_trait_selection/src/solve/delegate.rs:239:9
  25:     0x7f2cda50bc43 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::well_formed_goals
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs:1420:23
  26:     0x7f2cda50bc43 - <<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<_, _>>::region_assumptions_for_placeholders_in_universe::{closure#0}::RawAssumptions<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt> as rustc_type_ir[94036c61e832439]::visit::TypeVisitor<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::visit_ty
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/solver_region_constraints.rs:56:26
  27:     0x7f2cda0fac08 - <rustc_middle[d497aa4975fc7ed6]::ty::Ty as rustc_type_ir[94036c61e832439]::visit::TypeVisitable<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::visit_with::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<_, _>>::region_assumptions_for_placeholders_in_universe::{closure#0}::RawAssumptions<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_middle/src/ty/structural_impls.rs:342:17
  28:     0x7f2cda0fac08 - <rustc_middle[d497aa4975fc7ed6]::ty::generic_args::GenericArg as rustc_type_ir[94036c61e832439]::visit::TypeVisitable<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::visit_with::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<_, _>>::region_assumptions_for_placeholders_in_universe::{closure#0}::RawAssumptions<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_middle/src/ty/generic_args.rs:357:44
  29:     0x7f2cda0fac08 - <&rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_middle[d497aa4975fc7ed6]::ty::generic_args::GenericArg> as rustc_type_ir[94036c61e832439]::visit::TypeVisitable<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::visit_with::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<_, _>>::region_assumptions_for_placeholders_in_universe::{closure#0}::RawAssumptions<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_middle/src/ty/generic_args.rs:710:9
  30:     0x7f2cda0fac08 - <rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt> as rustc_type_ir[94036c61e832439]::visit::TypeVisitable<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::visit_with::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<_, _>>::region_assumptions_for_placeholders_in_universe::{closure#0}::RawAssumptions<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_type_ir/src/predicate.rs:451:10
  31:     0x7f2cda0fac08 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::region_assumptions_for_placeholders_in_universe::<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/solver_region_constraints.rs:81:11
  32:     0x7f2cda0fac08 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::region_assumptions_for_placeholders_in_universe::<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/solver_region_constraints.rs:31:5
  33:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::enter_forall_with_assumptions::<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>, core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}::{closure#0}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs:1360:22
  34:     0x7f2cda30da71 - <rustc_infer[5737a329bf361845]::infer::InferCtxt>::enter_forall::<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>, core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::enter_forall_with_assumptions<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>, core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}::{closure#0}>::{closure#0}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_infer/src/infer/relate/higher_ranked.rs:76:9
  35:     0x7f2cda30da71 - <rustc_infer[5737a329bf361845]::infer::InferCtxt as rustc_type_ir[94036c61e832439]::infer_ctxt::InferCtxtLike>::enter_forall_without_assumptions::<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>, core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::enter_forall_with_assumptions<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>, core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}::{closure#0}>::{closure#0}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_infer/src/infer/context.rs:217:14
  36:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::enter_forall_with_assumptions::<rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>, core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}::{closure#0}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs:1357:23
  37:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs:1078:33
  38:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#0}, rustc_type_ir[94036c61e832439]::solve::Certainty>>::enter_inner::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/probe.rs:94:21
  39:     0x7f2cda30da71 - <rustc_infer[5737a329bf361845]::infer::InferCtxt as rustc_type_ir[94036c61e832439]::infer_ctxt::InferCtxtLike>::probe::<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#0}, rustc_type_ir[94036c61e832439]::solve::Certainty>>::enter_inner<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}>::{closure#0}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_infer/src/infer/context.rs:308:24
  40:     0x7f2cda30da71 - <rustc_infer[5737a329bf361845]::infer::InferCtxt>::probe::<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_infer[5737a329bf361845]::infer::InferCtxt as rustc_type_ir[94036c61e832439]::infer_ctxt::InferCtxtLike>::probe<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#0}, rustc_type_ir[94036c61e832439]::solve::Certainty>>::enter_inner<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}>::{closure#0}>::{closure#0}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_infer/src/infer/snapshot/mod.rs:106:17
  41:     0x7f2cda30da71 - <rustc_infer[5737a329bf361845]::infer::InferCtxt as rustc_type_ir[94036c61e832439]::infer_ctxt::InferCtxtLike>::probe::<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::solve::Certainty, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#0}, rustc_type_ir[94036c61e832439]::solve::Certainty>>::enter_inner<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}>::{closure#0}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_infer/src/infer/context.rs:308:14
  42:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#0}, rustc_type_ir[94036c61e832439]::solve::Certainty>>::enter_inner::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/probe.rs:93:33
  43:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#0}, rustc_type_ir[94036c61e832439]::solve::Certainty>>::enter::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}::{closure#1}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/probe.rs:57:14
  44:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#1}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs:1077:26
  45:     0x7f2cda30da71 - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs:1121:33
  46:     0x7f2cda30da71 - <&mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1} as core[ea5b88336862a8d]::ops::function::FnMut<(&rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>,)>>::call_mut
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/ops/function.rs:298:21
  47:     0x7f2cda30da71 - core[ea5b88336862a8d]::iter::traits::iterator::Iterator::find::check::<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, &mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/traits/iterator.rs:2967:20
  48:     0x7f2cda30da71 - core[ea5b88336862a8d]::iter::adapters::filter_map::filter_map_try_fold::<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, (), core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}, core[ea5b88336862a8d]::iter::traits::iterator::Iterator::find::check<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, &mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>::{closure#0}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/adapters/filter_map.rs:50:20
  49:     0x7f2cda438e2b - core[ea5b88336862a8d]::iter::adapters::copied::copy_try_fold::<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, (), core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>, core[ea5b88336862a8d]::iter::adapters::filter_map::filter_map_try_fold<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, (), core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}, core[ea5b88336862a8d]::iter::traits::iterator::Iterator::find::check<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, &mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>::{closure#0}>::{closure#0}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/adapters/copied.rs:40:22
  50:     0x7f2cda438e2b - <core[ea5b88336862a8d]::slice::iter::Iter<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>> as core[ea5b88336862a8d]::iter::traits::iterator::Iterator>::try_fold::<(), core[ea5b88336862a8d]::iter::adapters::copied::copy_try_fold<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, (), core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>, core[ea5b88336862a8d]::iter::adapters::filter_map::filter_map_try_fold<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, (), core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}, core[ea5b88336862a8d]::iter::traits::iterator::Iterator::find::check<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, &mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>::{closure#0}>::{closure#0}>::{closure#0}, core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/traits/iterator.rs:2494:21
  51:     0x7f2cda438e2b - <core[ea5b88336862a8d]::iter::adapters::copied::Copied<core[ea5b88336862a8d]::slice::iter::Iter<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>> as core[ea5b88336862a8d]::iter::traits::iterator::Iterator>::try_fold::<(), core[ea5b88336862a8d]::iter::adapters::filter_map::filter_map_try_fold<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, (), core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}, core[ea5b88336862a8d]::iter::traits::iterator::Iterator::find::check<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, &mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>::{closure#0}>::{closure#0}, core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/adapters/copied.rs:74:17
  52:     0x7f2cda438e2b - <core[ea5b88336862a8d]::iter::adapters::filter_map::FilterMap<core[ea5b88336862a8d]::iter::adapters::copied::Copied<core[ea5b88336862a8d]::slice::iter::Iter<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}> as core[ea5b88336862a8d]::iter::traits::iterator::Iterator>::try_fold::<(), core[ea5b88336862a8d]::iter::traits::iterator::Iterator::find::check<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, &mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>::{closure#0}, core[ea5b88336862a8d]::ops::control_flow::ControlFlow<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialProjection<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/adapters/filter_map.rs:138:19
  53:     0x7f2cda438e2b - <core[ea5b88336862a8d]::iter::adapters::filter_map::FilterMap<core[ea5b88336862a8d]::iter::adapters::copied::Copied<core[ea5b88336862a8d]::slice::iter::Iter<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}> as core[ea5b88336862a8d]::iter::traits::iterator::Iterator>::find::<&mut <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/traits/iterator.rs:2971:14
  54:     0x7f2cda438e2b - <core[ea5b88336862a8d]::iter::adapters::filter::Filter<core[ea5b88336862a8d]::iter::adapters::filter_map::FilterMap<core[ea5b88336862a8d]::iter::adapters::copied::Copied<core[ea5b88336862a8d]::slice::iter::Iter<rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>, <rustc_middle[d497aa4975fc7ed6]::ty::list::RawList<(), rustc_type_ir[94036c61e832439]::binder::Binder<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::predicate::ExistentialPredicate<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::projection_bounds::{closure#0}>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}::{closure#1}> as core[ea5b88336862a8d]::iter::traits::iterator::Iterator>::next
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/iter/adapters/filter.rs:98:19
  55:     0x7f2cda438e2b - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs:1123:76
  56:     0x7f2cda438e2b - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_single_candidate::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/probe.rs:45:26
  57:     0x7f2cda438e2b - <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_inner::<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_single_candidate<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}>::{closure#0}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_next_trait_solver/src/solve/eval_ctxt/probe.rs:94:21
  58:     0x7f2cda438e2b - <rustc_infer[5737a329bf361845]::infer::InferCtxt as rustc_type_ir[94036c61e832439]::infer_ctxt::InferCtxtLike>::probe::<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_inner<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_single_candidate<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}>::{closure#0}>::{closure#0}>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_infer/src/infer/context.rs:308:24
  59:     0x7f2cda438e2b - <rustc_infer[5737a329bf361845]::infer::InferCtxt>::probe::<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_infer[5737a329bf361845]::infer::InferCtxt as rustc_type_ir[94036c61e832439]::infer_ctxt::InferCtxtLike>::probe<core[ea5b88336862a8d]::result::Result<rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>, rustc_type_ir[94036c61e832439]::solve::NoSolutionOrRerunNonErased>, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_inner<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::probe::ProbeCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, <rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::probe_trait_candidate::{closure#0}, rustc_type_ir[94036c61e832439]::canonical::Canonical<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt, rustc_type_ir[94036c61e832439]::solve::Response<rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>>>::enter_single_candidate<<rustc_next_trait_solver[ac91051ba473c5a7]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[f717ec5c5a405cbe]::solve::delegate::SolverDelegate, rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>>::consider_builtin_upcast_to_principal::{closure#2}>::{closure#0}>::{closure#0}>::{closure#0}>
....
...
 267:     0x7f41cb4684ed - rustc_middle[d497aa4975fc7ed6]::ty::context::tls::enter_context::<<rustc_middle[d497aa4975fc7ed6]::ty::context::GlobalCtxt>::enter<rustc_interface[1168827bc44a465]::passes::create_and_enter_global_ctxt<core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>, rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>>::{closure#1}, core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_middle/src/ty/context/tls.rs:53:9
 268:     0x7f41cb4684ed - <rustc_middle[d497aa4975fc7ed6]::ty::context::GlobalCtxt>::enter::<rustc_interface[1168827bc44a465]::passes::create_and_enter_global_ctxt<core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>, rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_middle/src/ty/context.rs:801:9
 269:     0x7f41cb4684ed - <rustc_middle[d497aa4975fc7ed6]::ty::context::TyCtxt>::create_global_ctxt::<core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>, rustc_interface[1168827bc44a465]::passes::create_and_enter_global_ctxt<core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>, rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}::{closure#2}>::{closure#2}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_middle/src/ty/context.rs:995:13
 270:     0x7f41cb4684ed - rustc_interface[1168827bc44a465]::passes::create_and_enter_global_ctxt::<core[ea5b88336862a8d]::option::Option<rustc_interface[1168827bc44a465]::queries::Linker>, rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}::{closure#2}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_interface/src/passes.rs:985:5
 271:     0x7f41cb483a55 - rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_driver_impl/src/lib.rs:299:22
 272:     0x7f41cb483a55 - rustc_interface[1168827bc44a465]::interface::run_compiler::<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_interface/src/interface.rs:496:80
 273:     0x7f41cb483a55 - <core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}::{closure#0}> as core[ea5b88336862a8d]::ops::function::FnOnce<()>>::call_once
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/panic/unwind_safe.rs:275:9
 274:     0x7f41cb483a55 - std[f454225e3f267d20]::panicking::catch_unwind::do_call::<core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:575:43
 275:     0x7f41cb483a55 - std[f454225e3f267d20]::panicking::catch_unwind::<(), core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:543:19
 276:     0x7f41cb483a55 - std[f454225e3f267d20]::panic::catch_unwind::<core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panic.rs:359:14
 277:     0x7f41cb483a55 - rustc_interface[1168827bc44a465]::interface::run_compiler::<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_interface/src/interface.rs:496:23
 278:     0x7f41cb473495 - rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals::<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_interface/src/util.rs:204:17
 279:     0x7f41cb473495 - rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals::<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_interface/src/util.rs:160:24
 280:     0x7f41cb473495 - <scoped_tls[a4d49c2704835ad2]::ScopedKey<rustc_span[d763f546d540902b]::SessionGlobals>>::set::<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::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
 281:     0x7f41cb473495 - rustc_span[d763f546d540902b]::create_session_globals_then::<(), rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_span/src/lib.rs:155:21
 282:     0x7f41cb473495 - rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals::<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/compiler/rustc_interface/src/util.rs:156:17
 283:     0x7f41cb473495 - std[f454225e3f267d20]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/sys/backtrace.rs:166:18
 284:     0x7f41cb489d77 - std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked::<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/thread/lifecycle.rs:70:13
 285:     0x7f41cb489d77 - <core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}> as core[ea5b88336862a8d]::ops::function::FnOnce<()>>::call_once
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/panic/unwind_safe.rs:275:9
 286:     0x7f41cb489d77 - std[f454225e3f267d20]::panicking::catch_unwind::do_call::<core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:575:43
 287:     0x7f41cb489d77 - std[f454225e3f267d20]::panicking::catch_unwind::<(), core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panicking.rs:543:19
 288:     0x7f41cb489d77 - std[f454225e3f267d20]::panic::catch_unwind::<core[ea5b88336862a8d]::panic::unwind_safe::AssertUnwindSafe<std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/panic.rs:359:14
 289:     0x7f41cb489d77 - std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked::<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/thread/lifecycle.rs:68:26
 290:     0x7f41cb489d77 - <std[f454225e3f267d20]::thread::lifecycle::spawn_unchecked<rustc_interface[1168827bc44a465]::util::run_in_thread_with_globals<rustc_interface[1168827bc44a465]::util::run_in_thread_pool_with_globals<rustc_interface[1168827bc44a465]::interface::run_compiler<(), rustc_driver_impl[5888b260b5ef9ad1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[ea5b88336862a8d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /rustc-dev/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/core/src/ops/function.rs:250:5
 291:     0x7f41cefc71ff - <alloc[aa92d3ca6e015c84]::boxed::Box<dyn core[ea5b88336862a8d]::ops::function::FnOnce<(), Output = ()> + core[ea5b88336862a8d]::marker::Send> as core[ea5b88336862a8d]::ops::function::FnOnce<()>>::call_once
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/alloc/src/boxed.rs:2277:9
 292:     0x7f41cefc71ff - <std[f454225e3f267d20]::sys::thread::unix::Thread>::new::thread_start
                               at /rustc/edff07ce1a97f3eb39d438852ace6c57dd97605e/library/std/src/sys/thread/unix.rs:118:17
 293:     0x7f41c84981b9 - <unknown>
 294:     0x7f41c851d21c - <unknown>
 295:                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: please attach the file at `/home/matthias/vcs/github/CRED/rustc-ice-2026-06-13T12_56_01-129470.txt` to your bug report

note: rustc 1.98.0-nightly (edff07ce1 2026-06-13) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z next-solver=globally -Z assumptions-on-binders

query stack during panic:
#0 [evaluate_root_goal_for_proof_tree_raw] computing proof tree for `&dyn for<'a> core::ops::function::Fn(&'a E<'a, &'a Tree<'a>>): core::ops::unsize::CoerceUnsized<&dyn core::ops::function::Fn(^c_3)>`
#1 [typeck_root] type-checking `<impl at code.rs:14:1: 14:15>::fun`
... and 1 other queries... use `env RUST_BACKTRACE=1` to see the full query stack

Metadata

Metadata

Assignees

No one assigned

    Labels

    -Zassumptions-on-bindersUnstable option: `-Zassumptions-on-bindersC-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way

    Type

    No type

    Fields

    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