Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: "failed to get output type of async function" #105304

Closed
matthiaskrgr opened this issue Dec 5, 2022 · 2 comments · Fixed by #105318
Closed

ICE: "failed to get output type of async function" #105304

matthiaskrgr opened this issue Dec 5, 2022 · 2 comments · Fixed by #105318
Assignees
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthiaskrgr
Copy link
Member

Code

trait a{async fn e(){Ok(())}}

Meta

rustc --version --verbose:

rustc 1.67.0-nightly (203c8765e 2022-12-05)
binary: rustc
commit-hash: 203c8765ea33c65d888febe0e8219c4bb11b0d89
commit-date: 2022-12-05
host: x86_64-unknown-linux-gnu
release: 1.67.0-nightly

Error output

error[E0670]: `async fn` is not permitted in Rust 2015
 --> ./g.rs:1:9
  |
1 | trait a{async fn e(){Ok(())}}
  |         ^^^^^ to use `async fn`, switch to Rust 2018 or later
  |
  = help: pass `--edition 2021` to `rustc`
  = note: for more on editions, read https://doc.rust-lang.org/edition-guide

warning: trait `a` should have an upper camel case name
 --> ./g.rs:1:7
  |
1 | trait a{async fn e(){Ok(())}}
  |       ^ help: convert the identifier to upper camel case: `A`
  |
  = note: `#[warn(non_camel_case_types)]` on by default

error[E0706]: functions in traits cannot be declared `async`
 --> ./g.rs:1:9
  |
1 | trait a{async fn e(){Ok(())}}
  |         -----^^^^^^^
  |         |
  |         `async` because of this
  |
  = note: `async` trait functions are not currently supported
  = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
  = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
  = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0601]: `main` function not found in crate `g`
 --> ./g.rs:1:30
  |
1 | trait a{async fn e(){Ok(())}}
  |                              ^ consider adding a `main` function to `./g.rs`

error: internal compiler error: compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs:926:21: failed to get output type of async function
 --> ./g.rs:1:21
  |
1 | trait a{async fn e(){Ok(())}}
  |                     ^
Backtrace

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/compiler/rustc_errors/src/lib.rs:973:33
stack backtrace:
   0:     0x7f17c6ca47ea - std::backtrace_rs::backtrace::libunwind::trace::haf4f6555eab7ead4
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f17c6ca47ea - std::backtrace_rs::backtrace::trace_unsynchronized::hfc714f6da02b5969
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f17c6ca47ea - std::sys_common::backtrace::_print_fmt::h9875468f46730eb5
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f17c6ca47ea - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he7dd937ee37d2511
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f17c2bc8ece - core::fmt::write::h72e881999dc917c1
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/core/src/fmt/mod.rs:1208:17
   5:     0x7f17c6c98965 - std::io::Write::write_fmt::h60eee6572a50d5d4
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/io/mod.rs:1682:15
   6:     0x7f17c6ca45b5 - std::sys_common::backtrace::_print::h915ed5f42cfbd4ee
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x7f17c6ca45b5 - std::sys_common::backtrace::print::hea29825fc290d5a9
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x7f17c6ca693f - std::panicking::default_hook::{{closure}}::h1b79e91daf05b290
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/panicking.rs:267:22
   9:     0x7f17c6ca667b - std::panicking::default_hook::h25494375c1c30e08
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/panicking.rs:286:9
  10:     0x7f17c5ef7714 - rustc_driver[47b15bc801079be3]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7f17c6ca713d - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hda0ac1d4b9b4f79d
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/alloc/src/boxed.rs:2032:9
  12:     0x7f17c6ca713d - std::panicking::rust_panic_with_hook::h5cab6f426c3a6e86
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/panicking.rs:692:13
  13:     0x7f17c60c23a1 - std[5fdfef2f826aac6e]::panicking::begin_panic::<rustc_errors[83d0390b540c377c]::ExplicitBug>::{closure#0}
  14:     0x7f17c60c0f56 - std[5fdfef2f826aac6e]::sys_common::backtrace::__rust_end_short_backtrace::<std[5fdfef2f826aac6e]::panicking::begin_panic<rustc_errors[83d0390b540c377c]::ExplicitBug>::{closure#0}, !>
  15:     0x7f17c611e2c6 - std[5fdfef2f826aac6e]::panicking::begin_panic::<rustc_errors[83d0390b540c377c]::ExplicitBug>
  16:     0x7f17c6103896 - std[5fdfef2f826aac6e]::panic::panic_any::<rustc_errors[83d0390b540c377c]::ExplicitBug>
  17:     0x7f17c6100522 - <rustc_errors[83d0390b540c377c]::HandlerInner>::span_bug::<rustc_span[57a73cbaf19116fe]::span_encoding::Span, &alloc[4c90e52d7659c26e]::string::String>
  18:     0x7f17c61002c7 - <rustc_errors[83d0390b540c377c]::Handler>::span_bug::<rustc_span[57a73cbaf19116fe]::span_encoding::Span, &alloc[4c90e52d7659c26e]::string::String>
  19:     0x7f17c60f2e39 - rustc_middle[2e460662929054fb]::ty::context::tls::with_context_opt::<rustc_middle[2e460662929054fb]::ty::context::tls::with_opt<rustc_middle[2e460662929054fb]::util::bug::opt_span_bug_fmt<rustc_span[57a73cbaf19116fe]::span_encoding::Span>::{closure#0}, ()>::{closure#0}, ()>
  20:     0x7f17c60f22b6 - rustc_middle[2e460662929054fb]::util::bug::opt_span_bug_fmt::<rustc_span[57a73cbaf19116fe]::span_encoding::Span>
  21:     0x7f17c4209804 - rustc_middle[2e460662929054fb]::util::bug::span_bug_fmt::<rustc_span[57a73cbaf19116fe]::span_encoding::Span>
  22:     0x7f17c6076775 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::suggest_missing_break_or_return_expr
  23:     0x7f17c6111a97 - <rustc_hir_typeck[8c3e029a30e483e6]::coercion::CoerceMany<&rustc_hir[9a5869f023ce050]::hir::Expr>>::report_return_mismatched_types
  24:     0x7f17c42113e8 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_block_with_expected
  25:     0x7f17c41bcb9f - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  26:     0x7f17c41bf1aa - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  27:     0x7f17c420f961 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_block_with_expected
  28:     0x7f17c41bcb9f - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  29:     0x7f17c41a84c3 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_return_expr
  30:     0x7f17c419dc6f - rustc_hir_typeck[8c3e029a30e483e6]::check::check_fn
  31:     0x7f17c4278939 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_expr_closure
  32:     0x7f17c41c0c09 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  33:     0x7f17c406d3e5 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_argument_types
  34:     0x7f17c4249057 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_call
  35:     0x7f17c41bc79e - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  36:     0x7f17c41a84c3 - <rustc_hir_typeck[8c3e029a30e483e6]::fn_ctxt::FnCtxt>::check_return_expr
  37:     0x7f17c419dc6f - rustc_hir_typeck[8c3e029a30e483e6]::check::check_fn
  38:     0x7f17c418858b - rustc_hir_typeck[8c3e029a30e483e6]::typeck
  39:     0x7f17c45698a2 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::VecCache<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId, &rustc_middle[2e460662929054fb]::ty::context::TypeckResults>>
  40:     0x7f17c58aef2c - <rustc_query_impl[7f9f218292072b3f]::Queries as rustc_middle[2e460662929054fb]::ty::query::QueryEngine>::typeck
  41:     0x7f17c4b4307e - rustc_mir_build[49b0c824457695bc]::thir::cx::thir_body
  42:     0x7f17c4b29f32 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::DefaultCache<rustc_middle[2e460662929054fb]::ty::WithOptConstParam<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId>, core[2ebc8f0527d3a5b9]::result::Result<(&rustc_data_structures[8077d2f5269eed54]::steal::Steal<rustc_middle[2e460662929054fb]::thir::Thir>, rustc_middle[2e460662929054fb]::thir::ExprId), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>>
  43:     0x7f17c4b227f0 - rustc_mir_build[49b0c824457695bc]::build::mir_built
  44:     0x7f17c4b89349 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::DefaultCache<rustc_middle[2e460662929054fb]::ty::WithOptConstParam<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId>, &rustc_data_structures[8077d2f5269eed54]::steal::Steal<rustc_middle[2e460662929054fb]::mir::Body>>>
  45:     0x7f17c4ee15ad - rustc_mir_transform[f7a572f6f0553b41]::check_unsafety::unsafety_check_result
  46:     0x7f17c4efd4ad - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::VecCache<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId, &rustc_middle[2e460662929054fb]::mir::query::UnsafetyCheckResult>>
  47:     0x7f17c4ef9457 - rustc_mir_transform[f7a572f6f0553b41]::mir_const
  48:     0x7f17c4b8967f - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::DefaultCache<rustc_middle[2e460662929054fb]::ty::WithOptConstParam<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId>, &rustc_data_structures[8077d2f5269eed54]::steal::Steal<rustc_middle[2e460662929054fb]::mir::Body>>>
  49:     0x7f17c4ffe32d - rustc_mir_transform[f7a572f6f0553b41]::mir_promoted
  50:     0x7f17c4c5bc62 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::DefaultCache<rustc_middle[2e460662929054fb]::ty::WithOptConstParam<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId>, (&rustc_data_structures[8077d2f5269eed54]::steal::Steal<rustc_middle[2e460662929054fb]::mir::Body>, &rustc_data_structures[8077d2f5269eed54]::steal::Steal<rustc_index[35e7a2f1e1896273]::vec::IndexVec<rustc_middle[2e460662929054fb]::mir::Promoted, rustc_middle[2e460662929054fb]::mir::Body>>)>>
  51:     0x7f17c4c5a4df - rustc_borrowck[7e9e484e24850319]::mir_borrowck
  52:     0x7f17c4f5454d - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::VecCache<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId, &rustc_middle[2e460662929054fb]::mir::query::BorrowCheckResult>>
  53:     0x7f17c58af2da - <rustc_query_impl[7f9f218292072b3f]::Queries as rustc_middle[2e460662929054fb]::ty::query::QueryEngine>::mir_borrowck
  54:     0x7f17c56e3e15 - rustc_hir_analysis[6861c8a19017cd32]::collect::type_of::type_of
  55:     0x7f17c4814136 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::get_query::<rustc_query_impl[7f9f218292072b3f]::queries::type_of, rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt>
  56:     0x7f17c515e43c - rustc_hir_analysis[6861c8a19017cd32]::check::check::check_mod_item_types
  57:     0x7f17c49fcae3 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::VecCache<rustc_span[57a73cbaf19116fe]::def_id::LocalDefId, ()>>
  58:     0x7f17c52adf53 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::get_query::<rustc_query_impl[7f9f218292072b3f]::queries::check_mod_item_types, rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt>
  59:     0x7f17c55c3c15 - <rustc_middle[2e460662929054fb]::hir::map::Map>::for_each_module::<rustc_hir_analysis[6861c8a19017cd32]::check_crate::{closure#6}::{closure#0}>
  60:     0x7f17c42b9d72 - rustc_hir_analysis[6861c8a19017cd32]::check_crate
  61:     0x7f17c42b99bb - rustc_interface[70f300d734fc89c]::passes::analysis
  62:     0x7f17c5699cda - rustc_query_system[8fa2214c90c7f124]::query::plumbing::try_execute_query::<rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt, rustc_query_system[8fa2214c90c7f124]::query::caches::DefaultCache<(), core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>>
  63:     0x7f17c56999d0 - rustc_query_system[8fa2214c90c7f124]::query::plumbing::get_query::<rustc_query_impl[7f9f218292072b3f]::queries::analysis, rustc_query_impl[7f9f218292072b3f]::plumbing::QueryCtxt>
  64:     0x7f17c503d21b - <rustc_interface[70f300d734fc89c]::passes::QueryContext>::enter::<rustc_driver[47b15bc801079be3]::run_compiler::{closure#1}::{closure#2}::{closure#2}, core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>
  65:     0x7f17c5034bce - <rustc_interface[70f300d734fc89c]::interface::Compiler>::enter::<rustc_driver[47b15bc801079be3]::run_compiler::{closure#1}::{closure#2}, core[2ebc8f0527d3a5b9]::result::Result<core[2ebc8f0527d3a5b9]::option::Option<rustc_interface[70f300d734fc89c]::queries::Linker>, rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>
  66:     0x7f17c502fbe8 - rustc_span[57a73cbaf19116fe]::with_source_map::<core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>, rustc_interface[70f300d734fc89c]::interface::run_compiler<core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>, rustc_driver[47b15bc801079be3]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  67:     0x7f17c502f6d5 - <scoped_tls[25055b14e1bad790]::ScopedKey<rustc_span[57a73cbaf19116fe]::SessionGlobals>>::set::<rustc_interface[70f300d734fc89c]::interface::run_compiler<core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>, rustc_driver[47b15bc801079be3]::run_compiler::{closure#1}>::{closure#0}, core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>
  68:     0x7f17c502ecc2 - std[5fdfef2f826aac6e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[70f300d734fc89c]::util::run_in_thread_pool_with_globals<rustc_interface[70f300d734fc89c]::interface::run_compiler<core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>, rustc_driver[47b15bc801079be3]::run_compiler::{closure#1}>::{closure#0}, core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>
  69:     0x7f17c579de48 - <<std[5fdfef2f826aac6e]::thread::Builder>::spawn_unchecked_<rustc_interface[70f300d734fc89c]::util::run_in_thread_pool_with_globals<rustc_interface[70f300d734fc89c]::interface::run_compiler<core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>, rustc_driver[47b15bc801079be3]::run_compiler::{closure#1}>::{closure#0}, core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[2ebc8f0527d3a5b9]::result::Result<(), rustc_errors[83d0390b540c377c]::ErrorGuaranteed>>::{closure#1} as core[2ebc8f0527d3a5b9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  70:     0x7f17c6cae383 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0e7d2d4274dfead7
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/alloc/src/boxed.rs:2000:9
  71:     0x7f17c6cae383 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd693ed6c57fc42c8
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/alloc/src/boxed.rs:2000:9
  72:     0x7f17c6cae383 - std::sys::unix::thread::Thread::new::thread_start::hde394400e2e1e846
                               at /rustc/203c8765ea33c65d888febe0e8219c4bb11b0d89/library/std/src/sys/unix/thread.rs:108:17
  73:     0x7f17c29068fd - <unknown>
  74:     0x7f17c2988a60 - <unknown>
  75:                0x0 - <unknown>

note: 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: rustc 1.67.0-nightly (203c8765e 2022-12-05) running on x86_64-unknown-linux-gnu

query stack during panic:
#0 [typeck] type-checking `a::e`
#1 [thir_body] building THIR for `a::e`
#2 [mir_built] building MIR for `a::e`
#3 [unsafety_check_result] unsafety-checking `a::e`
#4 [mir_const] preparing `a::e` for borrow checking
#5 [mir_promoted] processing MIR for `a::e`
#6 [mir_borrowck] borrow-checking `a::e`
#7 [type_of] computing type of `a::e::{opaque#0}`
#8 [check_mod_item_types] checking item types in top-level module
#9 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 4 previous errors; 1 warning emitted

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

@matthiaskrgr matthiaskrgr added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Dec 5, 2022
@matthiaskrgr
Copy link
Member Author

debug stacktrace

thread 'rustc' panicked at 'Box<dyn Any>', /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/lib.rs:973:33
stack backtrace:
   0:     0x7feed858a5c4 - std::backtrace_rs::backtrace::libunwind::trace::hc8277bb3a00e0049
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7feed858a5c4 - std::backtrace_rs::backtrace::trace_unsynchronized::h7171069a8a6029ec
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7feed858a5c4 - std::sys_common::backtrace::_print_fmt::h9b8d864b9cacdf65
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7feed858a5c4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h30059ecb241f0374
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7feed2deabd8 - core::fmt::write::h7d3fc703cf396835
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1208:17
   5:     0x7feed85630df - std::io::Write::write_fmt::h0070d228c09bbaad
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1682:15
   6:     0x7feed858a3c5 - std::sys_common::backtrace::_print::hcfecaa3f0a2ed334
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x7feed858a3c5 - std::sys_common::backtrace::print::hb72c8184e0b6a41e
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x7feed8572587 - std::panicking::default_hook::{{closure}}::h483836af052c1481
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:267:22
   9:     0x7feed8572247 - std::panicking::default_hook::h1e612ca3289dc41d
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:286:9
  10:     0x7feed58b5a32 - <alloc[48e4295a588061ab]::boxed::Box<dyn for<'a, 'b> core[a14b18922c5685d]::ops::function::Fn<(&'a core[a14b18922c5685d]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[a14b18922c5685d]::marker::Sync + core[a14b18922c5685d]::marker::Send> as core[a14b18922c5685d]::ops::function::Fn<(&core[a14b18922c5685d]::panic::panic_info::PanicInfo,)>>::call
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2032:9
  11:     0x7feed58b5a32 - rustc_driver[9a27ed754b60ba1d]::DEFAULT_HOOK::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver/src/lib.rs:1202:13
  12:     0x7feed8572fac - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha7249c7081218c8a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2032:9
  13:     0x7feed8572fac - std::panicking::rust_panic_with_hook::h80de57e62ee80af8
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:692:13
  14:     0x7feed60875a3 - std[a43d24b5a93ee688]::panicking::begin_panic::<rustc_errors[3b65cac499643c0c]::ExplicitBug>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:608:9
  15:     0x7feed60800a6 - std[a43d24b5a93ee688]::sys_common::backtrace::__rust_end_short_backtrace::<std[a43d24b5a93ee688]::panicking::begin_panic<rustc_errors[3b65cac499643c0c]::ExplicitBug>::{closure#0}, !>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:137:18
  16:     0x7feed61962d6 - std[a43d24b5a93ee688]::panicking::begin_panic::<rustc_errors[3b65cac499643c0c]::ExplicitBug>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:607:12
  17:     0x7feed61962c6 - std[a43d24b5a93ee688]::panic::panic_any::<rustc_errors[3b65cac499643c0c]::ExplicitBug>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:61:5
  18:     0x7feed618f844 - <rustc_errors[3b65cac499643c0c]::HandlerInner>::span_bug::<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span, &alloc[48e4295a588061ab]::string::String>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/lib.rs:1514:9
  19:     0x7feed618f387 - <rustc_errors[3b65cac499643c0c]::Handler>::span_bug::<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span, &alloc[48e4295a588061ab]::string::String>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/lib.rs:973:9
  20:     0x7feed6119d5b - rustc_middle[6c487b6d7a03859d]::util::bug::opt_span_bug_fmt::<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/util/bug.rs:34:40
  21:     0x7feed6119d5b - rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_opt::<rustc_middle[6c487b6d7a03859d]::util::bug::opt_span_bug_fmt<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span>::{closure#0}, ()>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2065:40
  22:     0x7feed6119d5b - rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_context_opt::<rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_opt<rustc_middle[6c487b6d7a03859d]::util::bug::opt_span_bug_fmt<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span>::{closure#0}, ()>::{closure#0}, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2017:22
  23:     0x7feed6119a77 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_opt::<rustc_middle[6c487b6d7a03859d]::util::bug::opt_span_bug_fmt<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span>::{closure#0}, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2065:9
  24:     0x7feed6119a77 - rustc_middle[6c487b6d7a03859d]::util::bug::opt_span_bug_fmt::<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/util/bug.rs:31:5
  25:     0x7feed6119a35 - rustc_middle[6c487b6d7a03859d]::util::bug::span_bug_fmt::<rustc_span[ef98d0b2f0389c7a]::span_encoding::Span>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/util/bug.rs:22:5
  26:     0x7feed5f5236b - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::suggest_missing_break_or_return_expr::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs:926:21
  27:     0x7feed5f5236b - <core[a14b18922c5685d]::option::Option<rustc_middle[6c487b6d7a03859d]::ty::Ty>>::unwrap_or_else::<<rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::suggest_missing_break_or_return_expr::{closure#2}>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/option.rs:828:21
  28:     0x7feed5f5236b - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::suggest_missing_break_or_return_expr
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs:925:40
  29:     0x7feed617af92 - <rustc_hir_typeck[c8ab3e7e38adbcad]::coercion::CoerceMany<&rustc_hir[3788c4a2d17ef2a2]::hir::Expr>>::report_return_mismatched_types
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/coercion.rs:1730:13
  30:     0x7feed6189d65 - <rustc_hir_typeck[c8ab3e7e38adbcad]::coercion::CoerceMany<&rustc_hir[3788c4a2d17ef2a2]::hir::Expr>>::coerce_inner
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/coercion.rs:1547:31
  31:     0x7feed5f44bb9 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1449:17
  32:     0x7feed5f44bb9 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1428:22
  33:     0x7feed5f44bb9 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1429:26
  34:     0x7feed5f9c951 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:329:41
  35:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:237:18
  36:     0x7feed5f21178 - stacker[580307df02ffed7e]::maybe_grow::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/.cargo/registry/src/github.com-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
  37:     0x7feed5f21178 - rustc_data_structures[d31a97b6c18021ec]::stack::ensure_sufficient_stack::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  38:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:233:18
  39:     0x7feed5f9b3e5 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:187:9
  40:     0x7feed5f9bea2 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:343:39
  41:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:237:18
  42:     0x7feed5f21178 - stacker[580307df02ffed7e]::maybe_grow::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/.cargo/registry/src/github.com-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
  43:     0x7feed5f21178 - rustc_data_structures[d31a97b6c18021ec]::stack::ensure_sufficient_stack::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  44:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:233:18
  45:     0x7feed5f9b3e5 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:187:9
  46:     0x7feed5f44844 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1436:50
  47:     0x7feed5f44844 - <core[a14b18922c5685d]::option::Option<&&rustc_hir[3788c4a2d17ef2a2]::hir::Expr>>::map::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/option.rs:925:29
  48:     0x7feed5f44844 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1436:32
  49:     0x7feed5f44844 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1428:22
  50:     0x7feed5f44844 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_block_with_expected
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1429:26
  51:     0x7feed5f9c951 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:329:41
  52:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:237:18
  53:     0x7feed5f21178 - stacker[580307df02ffed7e]::maybe_grow::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/.cargo/registry/src/github.com-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
  54:     0x7feed5f21178 - rustc_data_structures[d31a97b6c18021ec]::stack::ensure_sufficient_stack::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  55:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:233:18
  56:     0x7feed5f9b3e5 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:187:9
  57:     0x7feed5f23056 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_hint
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:139:9
  58:     0x7feed5f23056 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_return_expr
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:834:30
  59:     0x7feed60f4646 - rustc_hir_typeck[c8ab3e7e38adbcad]::check::check_fn
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/check.rs:121:9
  60:     0x7feed5f923b4 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_closure::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/closure.rs:83:31
  61:     0x7feed5f923b4 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_closure
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/closure.rs:72:19
  62:     0x7feed5f923b4 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_closure
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/closure.rs:61:9
  63:     0x7feed5f9c698 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:328:43
  64:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:237:18
  65:     0x7feed5f21178 - stacker[580307df02ffed7e]::maybe_grow::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/.cargo/registry/src/github.com-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
  66:     0x7feed5f21178 - rustc_data_structures[d31a97b6c18021ec]::stack::ensure_sufficient_stack::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  67:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:233:18
  68:     0x7feed5f9b3e5 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:187:9
  69:     0x7feed5f3b3c2 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_argument_types::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:256:30
  70:     0x7feed5f3b3c2 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_argument_types
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:374:34
  71:     0x7feed5f0a8bb - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::confirm_builtin_call
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/callee.rs:460:9
  72:     0x7feed5f0761c - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_call
  73:     0x7feed5f9c2e0 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:330:45
  74:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:237:18
  75:     0x7feed5f21178 - stacker[580307df02ffed7e]::maybe_grow::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/.cargo/registry/src/github.com-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
  76:     0x7feed5f21178 - rustc_data_structures[d31a97b6c18021ec]::stack::ensure_sufficient_stack::<rustc_middle[6c487b6d7a03859d]::ty::Ty, <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  77:     0x7feed5f21178 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:233:18
  78:     0x7feed5f9b3e5 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:187:9
  79:     0x7feed5f23056 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_expr_with_hint
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:139:9
  80:     0x7feed5f23056 - <rustc_hir_typeck[c8ab3e7e38adbcad]::fn_ctxt::FnCtxt>::check_return_expr
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:834:30
  81:     0x7feed60f4646 - rustc_hir_typeck[c8ab3e7e38adbcad]::check::check_fn
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/check.rs:121:9
  82:     0x7feed60aedce - rustc_hir_typeck[c8ab3e7e38adbcad]::typeck_with_fallback::<rustc_hir_typeck[c8ab3e7e38adbcad]::typeck::{closure#0}>::{closure#0}::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:251:13
  83:     0x7feed60aedce - <rustc_hir_typeck[c8ab3e7e38adbcad]::inherited::InheritedBuilder>::enter::<rustc_hir_typeck[c8ab3e7e38adbcad]::typeck_with_fallback<rustc_hir_typeck[c8ab3e7e38adbcad]::typeck::{closure#0}>::{closure#0}::{closure#1}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/inherited.rs:105:9
  84:     0x7feed60aedce - rustc_hir_typeck[c8ab3e7e38adbcad]::typeck_with_fallback::<rustc_hir_typeck[c8ab3e7e38adbcad]::typeck::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:234:26
  85:     0x7feed60aedce - rustc_hir_typeck[c8ab3e7e38adbcad]::typeck_with_fallback::<rustc_hir_typeck[c8ab3e7e38adbcad]::typeck::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:217:36
  86:     0x7feed60aedce - rustc_hir_typeck[c8ab3e7e38adbcad]::typeck
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:198:9
  87:     0x7feed75331e7 - <rustc_query_system[d1c7f5502e959b5d]::query::config::QueryVTable<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/config.rs:66:9
  88:     0x7feed75331e7 - rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job::<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:435:13
  89:     0x7feed75331e7 - stacker[580307df02ffed7e]::maybe_grow::<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>
                               at /home/matthias/.cargo/registry/src/github.com-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
  90:     0x7feed75331e7 - rustc_data_structures[d31a97b6c18021ec]::stack::ensure_sufficient_stack::<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  91:     0x7feed75331e7 - <rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query::<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:128:17
  92:     0x7feed75331e7 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::enter_context::<<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2000:50
  93:     0x7feed75331e7 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::set_tlv::<rustc_middle[6c487b6d7a03859d]::ty::context::tls::enter_context<<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1984:9
  94:     0x7feed75331e7 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::enter_context::<<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2000:9
  95:     0x7feed75331e7 - <rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query::<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:127:13
  96:     0x7feed75331e7 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_related_context::<<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2044:13
  97:     0x7feed75331e7 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_context::<rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_related_context<<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2028:40
  98:     0x7feed75331e7 - rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_context_opt::<rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_context<rustc_middle[6c487b6d7a03859d]::ty::context::tls::with_related_context<<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt as rustc_query_system[d1c7f5502e959b5d]::query::QueryContext>::start_query<&rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults, rustc_query_system[d1c7f5502e959b5d]::query::plumbing::execute_job<rustc_query_impl[d284c1843138b3a0]::plumbing::QueryCtxt, rustc_span[ef98d0b2f0389c7a]::def_id::LocalDefId, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>::{closure#0}, &rustc_middle[6c487b6d7a03859d]::ty::context::TypeckResults>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2017:22

@compiler-errors compiler-errors self-assigned this Dec 5, 2022
@matthiaskrgr
Copy link
Member Author

Snippet is originally from #102965

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants