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: Pattern mutability cap violated! #136223

Closed
matthiaskrgr opened this issue Jan 29, 2025 · 6 comments · Fixed by #136397
Closed

ICE: Pattern mutability cap violated! #136223

matthiaskrgr opened this issue Jan 29, 2025 · 6 comments · Fixed by #136397
Assignees
Labels
A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Jan 29, 2025

auto-reduced (treereduce-rust):

fn main() {
    if let &Some(Some(x)) = &Some(&mut Some(0)) {}
}

original:

fn main(e: &mut &&mut Foo) {
    if let &Some(Some(x)) = &Some(&mut Some(0)) {
        let _: &u32 = x;
    }
    if let Some(&x) = Some(&mut 0) {
        let _: u32 = x;
    }
}

Version information

rustc 1.86.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.86.0-dev
LLVM version: 19.1.7

Possibly related line of code:

def_br: ByRef,
adjust_mode: AdjustMode,
max_ref_mutbl: MutblCap,
) -> (Ty<'tcx>, ByRef, MutblCap) {
#[cfg(debug_assertions)]
if def_br == ByRef::Yes(Mutability::Mut) && max_ref_mutbl != MutblCap::Mut {
span_bug!(pat.span, "Pattern mutability cap violated!");
}
match adjust_mode {
AdjustMode::Pass => (expected, def_br, max_ref_mutbl),
AdjustMode::Reset => (expected, ByRef::No, MutblCap::Mut),
AdjustMode::Peel => self.peel_off_references(pat, expected, def_br, max_ref_mutbl),
}

@matthiaskrgr matthiaskrgr added 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. labels Jan 29, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 29, 2025
@matthiaskrgr
Copy link
Member Author

Program output

error: internal compiler error: compiler/rustc_hir_typeck/src/pat.rs:429:13: Pattern mutability cap violated!
 --> /tmp/icemaker_global_tempdir.zgZ3AbvmTAJl/rustc_testrunner_tmpdir_reporting.ctacpzjrQnqT/mvce.rs:2:23
  |
2 |     if let &Some(Some(x)) = &Some(&mut Some(0)) {}
  |                       ^


thread 'rustc' panicked at compiler/rustc_hir_typeck/src/pat.rs:429:13:
Box<dyn Any>
stack backtrace:
   0:     0x7667aa692752 - std::backtrace_rs::backtrace::libunwind::trace::h8178ca11f73d0bb8
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:     0x7667aa692752 - std::backtrace_rs::backtrace::trace_unsynchronized::he59b26c85ccab94b
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7667aa692752 - std::sys::backtrace::_print_fmt::h5a4808b747f4f785
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:66:9
   3:     0x7667aa692752 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha3d8c205fb25293c
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:39:26
   4:     0x7667a580e424 - core::fmt::rt::Argument::fmt::h217fb4836976d8cc
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:177:76
   5:     0x7667a580e424 - core::fmt::write::hdbb2b287a11a9df0
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1449:21
   6:     0x7667aa66e5e9 - std::io::Write::write_fmt::h6366788a14426198
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1890:15
   7:     0x7667aa6925f3 - std::sys::backtrace::BacktraceLock::print::he479d963a385c0ff
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:42:9
   8:     0x7667aa64fb78 - std::panicking::default_hook::{{closure}}::h22bf6b8cf0f1b587
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:298:22
   9:     0x7667aa64fa2e - std::panicking::default_hook::he44fc2580e6d00aa
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:325:9
  10:     0x7667a6cf645b - rustc_driver_impl[1b1a57ec4d988a01]::install_ice_hook::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1326:17
  11:     0x7667a6cf645b - <alloc[ac248cf1b8b6a1d2]::boxed::Box<rustc_driver_impl[1b1a57ec4d988a01]::install_ice_hook::{closure#1}> as core[7850e68fd07cef96]::ops::function::Fn<(&dyn for<'a, 'b> core[7850e68fd07cef96]::ops::function::Fn<(&'a std[7973eabea46733ff]::panic::PanicHookInfo<'b>,), Output = ()> + core[7850e68fd07cef96]::marker::Send + core[7850e68fd07cef96]::marker::Sync, &std[7973eabea46733ff]::panic::PanicHookInfo)>>::call
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9
  12:     0x7667aa65028a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hf17a4a7c9d945c54
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9
  13:     0x7667aa65028a - std::panicking::rust_panic_with_hook::h411ea03ac7cd3751
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:839:13
  14:     0x7667a6ebe713 - std[7973eabea46733ff]::panicking::begin_panic::<rustc_errors[e42a73178a8c3d7a]::ExplicitBug>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:768:9
  15:     0x7667a6ebbfb6 - std[7973eabea46733ff]::sys::backtrace::__rust_end_short_backtrace::<std[7973eabea46733ff]::panicking::begin_panic<rustc_errors[e42a73178a8c3d7a]::ExplicitBug>::{closure#0}, !>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:168:18
  16:     0x7667a6e6d7ed - std[7973eabea46733ff]::panicking::begin_panic::<rustc_errors[e42a73178a8c3d7a]::ExplicitBug>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:767:5
  17:     0x7667a6ec3502 - std[7973eabea46733ff]::panic::panic_any::<rustc_errors[e42a73178a8c3d7a]::ExplicitBug>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:259:5
  18:     0x7667a6ec3502 - <rustc_errors[e42a73178a8c3d7a]::diagnostic::BugAbort as rustc_errors[e42a73178a8c3d7a]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:82:9
  19:     0x7667a8481f90 - <rustc_errors[e42a73178a8c3d7a]::diagnostic::Diag<rustc_errors[e42a73178a8c3d7a]::diagnostic::BugAbort>>::emit
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:1330:9
  20:     0x7667a8481f90 - <rustc_errors[e42a73178a8c3d7a]::DiagCtxtHandle>::span_bug::<rustc_span[2de3071b458c1290]::span_encoding::Span, alloc[ac248cf1b8b6a1d2]::string::String>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/lib.rs:1180:48
  21:     0x7667a844ac06 - rustc_middle[440003ca421da2c6]::util::bug::opt_span_bug_fmt::<rustc_span[2de3071b458c1290]::span_encoding::Span>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/util/bug.rs:38:44
  22:     0x7667a8444a02 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_opt::<rustc_middle[440003ca421da2c6]::util::bug::opt_span_bug_fmt<rustc_span[2de3071b458c1290]::span_encoding::Span>::{closure#0}, !>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:148:23
  23:     0x7667a84449bb - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context_opt::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_opt<rustc_middle[440003ca421da2c6]::util::bug::opt_span_bug_fmt<rustc_span[2de3071b458c1290]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  24:     0x7667a844ab18 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_opt::<rustc_middle[440003ca421da2c6]::util::bug::opt_span_bug_fmt<rustc_span[2de3071b458c1290]::span_encoding::Span>::{closure#0}, !>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:146:5
  25:     0x7667a844ab18 - rustc_middle[440003ca421da2c6]::util::bug::opt_span_bug_fmt::<rustc_span[2de3071b458c1290]::span_encoding::Span>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/util/bug.rs:33:5
  26:     0x7667a844ab18 - rustc_middle[440003ca421da2c6]::util::bug::span_bug_fmt::<rustc_span[2de3071b458c1290]::span_encoding::Span>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/util/bug.rs:24:5
  27:     0x7667a7672d44 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::calc_default_binding_mode
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:429:13
  28:     0x7667a7672d44 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:323:13
  29:     0x7667a7671746 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat_tuple_struct
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:1382:17
  30:     0x7667a7671746 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:342:17
  31:     0x7667a7671746 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat_tuple_struct
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:1382:17
  32:     0x7667a7671746 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:342:17
  33:     0x7667a7633b34 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat_ref
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:2428:9
  34:     0x7667a766ef70 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:366:43
  35:     0x7667a75d9fe6 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_pat_top
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/pat.rs:303:9
  36:     0x7667a75d9fe6 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_decl
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1773:9
  37:     0x7667a76482f2 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_let
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:1525:9
  38:     0x7667a76482f2 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:542:40
  39:     0x7667a75a48f9 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:257:18
  40:     0x7667a75a48f9 - stacker[e4b685191ddd748c]::maybe_grow::<rustc_middle[440003ca421da2c6]::ty::Ty, <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.17/src/lib.rs:55:9
  41:     0x7667a75a48f9 - rustc_data_structures[4a04d61c036b4099]::stack::ensure_sufficient_stack::<rustc_middle[440003ca421da2c6]::ty::Ty, <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
  42:     0x7667a75a48f9 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:252:18
  43:     0x7667a76478e1 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:197:9
  44:     0x7667a7648a9a - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_has_type_or_error::<<rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_if::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:66:22
  45:     0x7667a7648a9a - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_if
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:1306:23
  46:     0x7667a7648a9a - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:563:17
  47:     0x7667a75a48f9 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:257:18
  48:     0x7667a75a48f9 - stacker[e4b685191ddd748c]::maybe_grow::<rustc_middle[440003ca421da2c6]::ty::Ty, <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.17/src/lib.rs:55:9
  49:     0x7667a75a48f9 - rustc_data_structures[4a04d61c036b4099]::stack::ensure_sufficient_stack::<rustc_middle[440003ca421da2c6]::ty::Ty, <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
  50:     0x7667a75a48f9 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:252:18
  51:     0x7667a76478e1 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:197:9
  52:     0x7667a75da9ac - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1887:44
  53:     0x7667a75da9ac - <core[7850e68fd07cef96]::option::Option<&rustc_hir[8d3086ee703763da]::hir::Expr>>::map::<(&rustc_hir[8d3086ee703763da]::hir::Expr, rustc_middle[440003ca421da2c6]::ty::Ty), <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/option.rs:1119:29
  54:     0x7667a75da9ac - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1887:26
  55:     0x7667a75da9ac - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1527:22
  56:     0x7667a75da9ac - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_block
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1879:26
  57:     0x7667a76487fb - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:550:41
  58:     0x7667a75a48f9 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:257:18
  59:     0x7667a75a48f9 - stacker[e4b685191ddd748c]::maybe_grow::<rustc_middle[440003ca421da2c6]::ty::Ty, <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.17/src/lib.rs:55:9
  60:     0x7667a75a48f9 - rustc_data_structures[4a04d61c036b4099]::stack::ensure_sufficient_stack::<rustc_middle[440003ca421da2c6]::ty::Ty, <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
  61:     0x7667a75a48f9 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:252:18
  62:     0x7667a76478e1 - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:197:9
  63:     0x7667a75a5f1e - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_expr_with_hint
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:152:9
  64:     0x7667a75a5f1e - <rustc_hir_typeck[a9c76e6f1a6fbf5d]::fn_ctxt::FnCtxt>::check_return_or_body_tail
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:1083:30
  65:     0x7667a79a8639 - rustc_hir_typeck[a9c76e6f1a6fbf5d]::check::check_fn
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/check.rs:140:5
  66:     0x7667a79c1fc6 - rustc_hir_typeck[a9c76e6f1a6fbf5d]::typeck_with_inspect::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:168:9
  67:     0x7667a79c1fc6 - rustc_hir_typeck[a9c76e6f1a6fbf5d]::typeck_with_inspect
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:105:1
  68:     0x7667a938c266 - rustc_query_impl[c6d4dc526a7c08b7]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:276:9
  69:     0x7667a938c266 - rustc_query_impl[c6d4dc526a7c08b7]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c6d4dc526a7c08b7]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:541:18
  70:     0x7667a978555b - rustc_query_impl[c6d4dc526a7c08b7]::query_impl::typeck::dynamic_query::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:615:25
  71:     0x7667a978555b - <rustc_query_impl[c6d4dc526a7c08b7]::query_impl::typeck::dynamic_query::{closure#2} as core[7850e68fd07cef96]::ops::function::FnOnce<(rustc_middle[440003ca421da2c6]::ty::context::TyCtxt, rustc_span[2de3071b458c1290]::def_id::LocalDefId)>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  72:     0x7667a9307b54 - <rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false> as rustc_query_system[a41adf21427d151f]::query::config::QueryConfig<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>>::compute
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:110:9
  73:     0x7667a9307b54 - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:538:37
  74:     0x7667a9307b54 - <rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}::{closure#2} as core[7850e68fd07cef96]::ops::function::FnOnce<((rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId)>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  75:     0x7667a9307b54 - <rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task::<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:364:64
  76:     0x7667a9307b54 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:72:9
  77:     0x7667a9307b54 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::try_with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:316:12
  78:     0x7667a9307b54 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:280:15
  79:     0x7667a9307b54 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:69:5
  80:     0x7667a9307b54 - <rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/dep_graph/mod.rs:33:13
  81:     0x7667a9307b54 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<<rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:36
  82:     0x7667a9307b54 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context_opt::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_context<<rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:91:18
  83:     0x7667a9307b54 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<<rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:5
  84:     0x7667a9307b54 - <rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/dep_graph/mod.rs:30:9
  85:     0x7667a9307b54 - <rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task::<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:364:37
  86:     0x7667a9307b54 - <rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task::<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>), rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:375:14
  87:     0x7667a9307b54 - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:534:13
  88:     0x7667a9307b54 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:72:9
  89:     0x7667a9307b54 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::try_with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:316:12
  90:     0x7667a9307b54 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:280:15
  91:     0x7667a92bdbec - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:69:5
  92:     0x7667a92bdbec - <rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13
  93:     0x7667a92bdbec - rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context::<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:9
  94:     0x7667a92bdbec - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:36
  95:     0x7667a92bdbec - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context_opt::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_context<rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:91:18
  96:     0x7667a92bdbec - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:5
  97:     0x7667a92bdbec - rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context::<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:115:5
  98:     0x7667a92bdbec - <rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9
  99:     0x7667a92bdbec - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:521:9
 100:     0x7667a92bdbec - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, true>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:400:9
 101:     0x7667a92bdbec - rustc_query_system[a41adf21427d151f]::query::plumbing::try_execute_query::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, true>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:353:13
 102:     0x7667a95b86bd - rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:834:9
 103:     0x7667a95b86bd - stacker[e4b685191ddd748c]::maybe_grow::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, core[7850e68fd07cef96]::option::Option<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>), rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.17/src/lib.rs:55:9
 104:     0x7667a95b86bd - rustc_data_structures[4a04d61c036b4099]::stack::ensure_sufficient_stack::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, core[7850e68fd07cef96]::option::Option<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>), rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
 105:     0x7667a95b86bd - rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:833:36
 106:     0x7667a95b86bd - rustc_query_impl[c6d4dc526a7c08b7]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:571:21
 107:     0x7667a72bff81 - rustc_middle[440003ca421da2c6]::query::plumbing::query_ensure::<rustc_data_structures[4a04d61c036b4099]::vec_cache::VecCache<rustc_span[2de3071b458c1290]::def_id::LocalDefId, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:159:9
 108:     0x7667a72bff81 - <rustc_middle[440003ca421da2c6]::query::plumbing::TyCtxtEnsure>::typeck::<rustc_span[2de3071b458c1290]::def_id::LocalDefId>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:194:9
 109:     0x7667a72bff81 - rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/lib.rs:185:13
 110:     0x7667a72bff81 - <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners::<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:351:82
 111:     0x7667a728f12d - rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in::<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:140:30
 112:     0x7667a728f12d - <core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}> as core[7850e68fd07cef96]::ops::function::FnOnce<()>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
 113:     0x7667a728f12d - std[7973eabea46733ff]::panicking::try::do_call::<core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:587:40
 114:     0x7667a728f12d - std[7973eabea46733ff]::panicking::try::<(), core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:550:19
 115:     0x7667a728f12d - std[7973eabea46733ff]::panic::catch_unwind::<core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:358:14
 116:     0x7667a728f12d - <rustc_data_structures[4a04d61c036b4099]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:26:9
 117:     0x7667a748f53e - rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in::<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:140:17
 118:     0x7667a748f53e - <core[7850e68fd07cef96]::slice::iter::Iter<rustc_span[2de3071b458c1290]::def_id::LocalDefId> as core[7850e68fd07cef96]::iter::traits::iterator::Iterator>::for_each::<rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/slice/iter/macros.rs:254:21
 119:     0x7667a748f53e - rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in::<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:139:13
 120:     0x7667a748f53e - rustc_data_structures[4a04d61c036b4099]::sync::parallel::parallel_guard::<(), rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:42:15
 121:     0x7667a748f53e - rustc_data_structures[4a04d61c036b4099]::sync::parallel::par_for_each_in::<&rustc_span[2de3071b458c1290]::def_id::LocalDefId, &[rustc_span[2de3071b458c1290]::def_id::LocalDefId], <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:132:5
 122:     0x7667a748f53e - <rustc_middle[440003ca421da2c6]::hir::map::Map>::par_body_owners::<rustc_hir_analysis[23ded09f6049c978]::check_crate::{closure#4}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:351:9
 123:     0x7667a748f53e - rustc_hir_analysis[23ded09f6049c978]::check_crate
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/lib.rs:182:5
 124:     0x7667a7d278bf - rustc_interface[61f2d6f6e760f05]::passes::run_required_analyses
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:868:5
 125:     0x7667a7d278bf - rustc_interface[61f2d6f6e760f05]::passes::analysis
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:935:5
 126:     0x7667a938c852 - rustc_query_impl[c6d4dc526a7c08b7]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:276:9
 127:     0x7667a938c852 - rustc_query_impl[c6d4dc526a7c08b7]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c6d4dc526a7c08b7]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:541:18
 128:     0x7667a94c2f67 - rustc_query_impl[c6d4dc526a7c08b7]::query_impl::analysis::dynamic_query::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:615:25
 129:     0x7667a94c2f67 - <rustc_query_impl[c6d4dc526a7c08b7]::query_impl::analysis::dynamic_query::{closure#2} as core[7850e68fd07cef96]::ops::function::FnOnce<(rustc_middle[440003ca421da2c6]::ty::context::TyCtxt, ())>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 130:     0x7667a92e3180 - <rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false> as rustc_query_system[a41adf21427d151f]::query::config::QueryConfig<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>>::compute
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:110:9
 131:     0x7667a92e3180 - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:538:37
 132:     0x7667a92e3180 - <rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}::{closure#2} as core[7850e68fd07cef96]::ops::function::FnOnce<((rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), ())>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 133:     0x7667a92e3180 - <rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task::<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:364:64
 134:     0x7667a92e3180 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:72:9
 135:     0x7667a92e3180 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::try_with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:316:12
 136:     0x7667a92e3180 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:280:15
 137:     0x7667a92e3180 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:69:5
 138:     0x7667a92e3180 - <rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/dep_graph/mod.rs:33:13
 139:     0x7667a92e3180 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<<rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:36
 140:     0x7667a92e3180 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context_opt::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_context<<rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:91:18
 141:     0x7667a92e3180 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<<rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:5
 142:     0x7667a92e3180 - <rustc_middle[440003ca421da2c6]::dep_graph::DepsType as rustc_query_system[a41adf21427d151f]::dep_graph::Deps>::with_deps::<<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}::{closure#0}, rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/dep_graph/mod.rs:30:9
 143:     0x7667a92e3180 - <rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task::<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:364:37
 144:     0x7667a92e3180 - <rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepGraphData<rustc_middle[440003ca421da2c6]::dep_graph::DepsType>>::with_task::<(rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>), (), rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:366:14
 145:     0x7667a92e3180 - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:534:13
 146:     0x7667a92e3180 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:72:9
 147:     0x7667a92e3180 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::try_with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:316:12
 148:     0x7667a92e3180 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:280:15
 149:     0x7667a92363b2 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:69:5
 150:     0x7667a92363b2 - <rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13
 151:     0x7667a92363b2 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context::<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:9
 152:     0x7667a92363b2 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:36
 153:     0x7667a92363b2 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context_opt::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_context<rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:91:18
 154:     0x7667a92363b2 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_context::<rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:102:5
 155:     0x7667a92363b2 - rustc_middle[440003ca421da2c6]::ty::context::tls::with_related_context::<<rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>::{closure#0}, (rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex)>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:115:5
 156:     0x7667a92363b2 - <rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt as rustc_query_system[a41adf21427d151f]::query::QueryContext>::start_query::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex), rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#2}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9
 157:     0x7667a92363b2 - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:521:9
 158:     0x7667a92363b2 - rustc_query_system[a41adf21427d151f]::query::plumbing::execute_job::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, true>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:400:9
 159:     0x7667a92363b2 - rustc_query_system[a41adf21427d151f]::query::plumbing::try_execute_query::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt, true>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:353:13
 160:     0x7667a97e1812 - rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:834:9
 161:     0x7667a97e1812 - stacker[e4b685191ddd748c]::maybe_grow::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, core[7850e68fd07cef96]::option::Option<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>), rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.17/src/lib.rs:55:9
 162:     0x7667a97e1812 - rustc_data_structures[4a04d61c036b4099]::stack::ensure_sufficient_stack::<(rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>, core[7850e68fd07cef96]::option::Option<rustc_query_system[a41adf21427d151f]::dep_graph::graph::DepNodeIndex>), rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
 163:     0x7667a97e1812 - rustc_query_system[a41adf21427d151f]::query::plumbing::get_query_incr::<rustc_query_impl[c6d4dc526a7c08b7]::DynamicConfig<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[c6d4dc526a7c08b7]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:833:36
 164:     0x7667a97e1812 - rustc_query_impl[c6d4dc526a7c08b7]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:571:21
 165:     0x7667a6cf8a00 - rustc_middle[440003ca421da2c6]::query::plumbing::query_ensure::<rustc_query_system[a41adf21427d151f]::query::caches::SingleCache<rustc_middle[440003ca421da2c6]::query::erase::Erased<[u8; 0usize]>>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:159:9
 166:     0x7667a6cf8a00 - <rustc_middle[440003ca421da2c6]::query::plumbing::TyCtxtEnsure>::analysis
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:194:9
 167:     0x7667a6cf8a00 - rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:368:13
 168:     0x7667a6cf8a00 - rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt::<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:813:27
 169:     0x7667a6cf8a00 - <rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>::enter::<rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1377:37
 170:     0x7667a6cf8a00 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>::enter<rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#1}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:72:9
 171:     0x7667a6cf8a00 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::try_with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>::enter<rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#1}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:316:12
 172:     0x7667a6cf8a00 - <std[7973eabea46733ff]::thread::local::LocalKey<core[7850e68fd07cef96]::cell::Cell<*const ()>>>::with::<rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context<<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>::enter<rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#1}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:280:15
 173:     0x7667a6d0edd0 - rustc_middle[440003ca421da2c6]::ty::context::tls::enter_context::<<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>::enter<rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>::{closure#1}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:69:5
 174:     0x7667a6d0edd0 - <rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>::enter::<rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1377:9
 175:     0x7667a6d0edd0 - <rustc_middle[440003ca421da2c6]::ty::context::TyCtxt>::create_global_ctxt::<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1573:9
 176:     0x7667a6caf110 - rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt::<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:781:9
 177:     0x7667a6caf110 - <rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[7850e68fd07cef96]::ops::function::FnOnce<(&rustc_session[e33c9530b65684d9]::session::Session, rustc_middle[440003ca421da2c6]::ty::context::CurrentGcx, &std[7973eabea46733ff]::sync::once_lock::OnceLock<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>, &rustc_data_structures[4a04d61c036b4099]::sync::worker_local::WorkerLocal<rustc_middle[440003ca421da2c6]::arena::Arena>, &rustc_data_structures[4a04d61c036b4099]::sync::worker_local::WorkerLocal<rustc_hir[8d3086ee703763da]::Arena>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 178:     0x7667a6cad9f4 - <alloc[ac248cf1b8b6a1d2]::boxed::Box<dyn for<'a> core[7850e68fd07cef96]::ops::function::FnOnce<(&'a rustc_session[e33c9530b65684d9]::session::Session, rustc_middle[440003ca421da2c6]::ty::context::CurrentGcx, &'a std[7973eabea46733ff]::sync::once_lock::OnceLock<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt<'a>>, &'a rustc_data_structures[4a04d61c036b4099]::sync::worker_local::WorkerLocal<rustc_middle[440003ca421da2c6]::arena::Arena<'a>>, &'a rustc_data_structures[4a04d61c036b4099]::sync::worker_local::WorkerLocal<rustc_hir[8d3086ee703763da]::Arena<'a>>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}), Output = core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>>> as core[7850e68fd07cef96]::ops::function::FnOnce<(&rustc_session[e33c9530b65684d9]::session::Session, rustc_middle[440003ca421da2c6]::ty::context::CurrentGcx, &std[7973eabea46733ff]::sync::once_lock::OnceLock<rustc_middle[440003ca421da2c6]::ty::context::GlobalCtxt>, &rustc_data_structures[4a04d61c036b4099]::sync::worker_local::WorkerLocal<rustc_middle[440003ca421da2c6]::arena::Arena>, &rustc_data_structures[4a04d61c036b4099]::sync::worker_local::WorkerLocal<rustc_hir[8d3086ee703763da]::Arena>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2})>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 179:     0x7667a6cad9f4 - rustc_interface[61f2d6f6e760f05]::passes::create_and_enter_global_ctxt::<core[7850e68fd07cef96]::option::Option<rustc_interface[61f2d6f6e760f05]::queries::Linker>, rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}::{closure#2}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:821:5
 180:     0x7667a6ccd3e3 - rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:339:22
 181:     0x7667a6ccd3e3 - rustc_interface[61f2d6f6e760f05]::interface::run_compiler::<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:507:80
 182:     0x7667a6ccd3e3 - <core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}::{closure#0}> as core[7850e68fd07cef96]::ops::function::FnOnce<()>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
 183:     0x7667a6ccd3e3 - std[7973eabea46733ff]::panicking::try::do_call::<core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:587:40
 184:     0x7667a6ccd3e3 - std[7973eabea46733ff]::panicking::try::<(), core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:550:19
 185:     0x7667a6ccd3e3 - std[7973eabea46733ff]::panic::catch_unwind::<core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:358:14
 186:     0x7667a6ccd3e3 - rustc_interface[61f2d6f6e760f05]::interface::run_compiler::<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:507:23
 187:     0x7667a6ccd3e3 - rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals::<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:143:13
 188:     0x7667a6ccd3e3 - rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals::<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:106:21
 189:     0x7667a6ccd3e3 - <scoped_tls[e55cf254590d1cc1]::ScopedKey<rustc_span[2de3071b458c1290]::SessionGlobals>>::set::<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/scoped-tls-1.0.1/src/lib.rs:137:9
 190:     0x7667a6cf7027 - rustc_span[2de3071b458c1290]::create_session_globals_then::<(), rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:139:5
 191:     0x7667a6d706e1 - rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals::<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:105:17
 192:     0x7667a6d706e1 - std[7973eabea46733ff]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:152:18
 193:     0x7667a6da685a - <std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_::<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:559:17
 194:     0x7667a6da685a - <core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<<std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}> as core[7850e68fd07cef96]::ops::function::FnOnce<()>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
 195:     0x7667a6da685a - std[7973eabea46733ff]::panicking::try::do_call::<core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<<std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:587:40
 196:     0x7667a6da685a - std[7973eabea46733ff]::panicking::try::<(), core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<<std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:550:19
 197:     0x7667a6da685a - std[7973eabea46733ff]::panic::catch_unwind::<core[7850e68fd07cef96]::panic::unwind_safe::AssertUnwindSafe<<std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:358:14
 198:     0x7667a6da685a - <std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_::<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:557:30
 199:     0x7667a6da685a - <<std[7973eabea46733ff]::thread::Builder>::spawn_unchecked_<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_with_globals<rustc_interface[61f2d6f6e760f05]::util::run_in_thread_pool_with_globals<rustc_interface[61f2d6f6e760f05]::interface::run_compiler<(), rustc_driver_impl[1b1a57ec4d988a01]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[7850e68fd07cef96]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 200:     0x7667aa697fb4 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf20f79ee36cf7bba
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 201:     0x7667aa697fb4 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h416913f313b5ae91
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 202:     0x7667aa697fb4 - std::sys::pal::unix::thread::Thread::new::thread_start::h59960ab994f0d053
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/pal/unix/thread.rs:106:17
 203:     0x7667a209ca94 - start_thread
                               at ./nptl/pthread_create.c:447:8
 204:     0x7667a2129c3c - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
 205:                0x0 - <unknown>

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

note: rustc 1.86.0-dev running on x86_64-unknown-linux-gnu

note: compiler flags: -Z incremental-verify-ich=yes -C incremental=[REDACTED] -C debuginfo=2 -C link-dead-code=true -Z validate-mir

query stack during panic:
#0 [typeck] type-checking `main`
#1 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 1 previous error


@matthiaskrgr matthiaskrgr added requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Jan 29, 2025
@lukas-code lukas-code added the A-patterns Relating to patterns and pattern matching label Jan 29, 2025
@Shunpoco
Copy link
Contributor

@rustbot claim

@Nadrieril
Copy link
Member

Nadrieril commented Feb 4, 2025

Oops that's a bad regression 🙈

cc @dianne

@dianne
Copy link
Contributor

dianne commented Feb 4, 2025

This should be fixed by #135434. I wrote the original PR that introduced that before debug asserts were enabled by default, so I only noticed it later. It totally slipped my mind to make a separate PR once I did notice it. Sorry about that!

In any case, the fix is already merged. I can't reproduce this.

@dianne

This comment has been minimized.

@Shunpoco
Copy link
Contributor

Shunpoco commented Feb 4, 2025

before debug asserts were enabled by default

Exactly, it was difficult for me to bisect this regression because some cases doesn't panic due to no debug assert 😸

Shunpoco added a commit to Shunpoco/rust that referenced this issue Feb 4, 2025
Shunpoco added a commit to Shunpoco/rust that referenced this issue Feb 7, 2025
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Feb 8, 2025
…mutability-cap-violated, r=Nadrieril

Add a comment pointing to ICE-136223

Fixes rust-lang#136223

## Steps how the ICE happen
This explanation is based on the test case `&Some(Some(x)) = &Some(&mut Some(0))`.
The case should fail with E0596 error, but it catches the debug assertion instead.

1. For the first `&`: In check_pat_ref(), the value max_ref_mutbl becomes MutblCap::Not ([here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L2394-L2396)). Once max_ref_mutbl becomes Not, it will never be back to MutblCap::Mut.
2. For `&mut`: In peel_off_references(), because Some(x) doesn't have `&` nor `&mut`, `&mut` in `&mut Some(0)` is not consumed then default_binding_mode (def_br) becomes `ByRef::Yes(Mutability::Mut)` (around [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L519-L536)). This will be inherited to the next step. So this pattern has the mismatch between `def_br=Yes(Mut)` and `max_ref_mutbl=Not` now.
3. For the value `0`: Because of the step 2, the default_binding_mode is `Yes(Mut)`, but max_ref_mutbl is `Not` from the step 1. It causes the assertion error [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L427-L430).

## What this PR fixes
Step 1 has happened from [this commit](rust-lang@e2f3ce9) by deleting `no_ref_mut_behind_and` from the if block. In my understanding, after RFC3627 is released, step 1 should happen not only 2024 edition but also other editions to track MutblCap value. But for now, it should not happen for non-2024 edition. So I put it back.

NOTE: I think there is another solution - We should return an E0596 error in calc_default_binding_mode() instead of the debug assertion. Since the assertion is caused by the mismatch between `def_br = Yes(Mut)` and `max_ref_mutbl = Not`, but in my understanding this violation is the same as E0596. check_pat_ident() does returns E0596 by a similar reason [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L837-L856).
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Feb 9, 2025
…mutability-cap-violated, r=Nadrieril

Add a comment pointing to ICE-136223

Fixes rust-lang#136223

## Steps how the ICE happen
This explanation is based on the test case `&Some(Some(x)) = &Some(&mut Some(0))`.
The case should fail with E0596 error, but it catches the debug assertion instead.

1. For the first `&`: In check_pat_ref(), the value max_ref_mutbl becomes MutblCap::Not ([here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L2394-L2396)). Once max_ref_mutbl becomes Not, it will never be back to MutblCap::Mut.
2. For `&mut`: In peel_off_references(), because Some(x) doesn't have `&` nor `&mut`, `&mut` in `&mut Some(0)` is not consumed then default_binding_mode (def_br) becomes `ByRef::Yes(Mutability::Mut)` (around [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L519-L536)). This will be inherited to the next step. So this pattern has the mismatch between `def_br=Yes(Mut)` and `max_ref_mutbl=Not` now.
3. For the value `0`: Because of the step 2, the default_binding_mode is `Yes(Mut)`, but max_ref_mutbl is `Not` from the step 1. It causes the assertion error [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L427-L430).

## What this PR fixes
Step 1 has happened from [this commit](rust-lang@e2f3ce9) by deleting `no_ref_mut_behind_and` from the if block. In my understanding, after RFC3627 is released, step 1 should happen not only 2024 edition but also other editions to track MutblCap value. But for now, it should not happen for non-2024 edition. So I put it back.

NOTE: I think there is another solution - We should return an E0596 error in calc_default_binding_mode() instead of the debug assertion. Since the assertion is caused by the mismatch between `def_br = Yes(Mut)` and `max_ref_mutbl = Not`, but in my understanding this violation is the same as E0596. check_pat_ident() does returns E0596 by a similar reason [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L837-L856).
@bors bors closed this as completed in ef22c14 Feb 9, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 9, 2025
Rollup merge of rust-lang#136397 - Shunpoco:issue-136223-ICE-pattern-mutability-cap-violated, r=Nadrieril

Add a comment pointing to ICE-136223

Fixes rust-lang#136223

## Steps how the ICE happen
This explanation is based on the test case `&Some(Some(x)) = &Some(&mut Some(0))`.
The case should fail with E0596 error, but it catches the debug assertion instead.

1. For the first `&`: In check_pat_ref(), the value max_ref_mutbl becomes MutblCap::Not ([here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L2394-L2396)). Once max_ref_mutbl becomes Not, it will never be back to MutblCap::Mut.
2. For `&mut`: In peel_off_references(), because Some(x) doesn't have `&` nor `&mut`, `&mut` in `&mut Some(0)` is not consumed then default_binding_mode (def_br) becomes `ByRef::Yes(Mutability::Mut)` (around [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L519-L536)). This will be inherited to the next step. So this pattern has the mismatch between `def_br=Yes(Mut)` and `max_ref_mutbl=Not` now.
3. For the value `0`: Because of the step 2, the default_binding_mode is `Yes(Mut)`, but max_ref_mutbl is `Not` from the step 1. It causes the assertion error [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L427-L430).

## What this PR fixes
Step 1 has happened from [this commit](rust-lang@e2f3ce9) by deleting `no_ref_mut_behind_and` from the if block. In my understanding, after RFC3627 is released, step 1 should happen not only 2024 edition but also other editions to track MutblCap value. But for now, it should not happen for non-2024 edition. So I put it back.

NOTE: I think there is another solution - We should return an E0596 error in calc_default_binding_mode() instead of the debug assertion. Since the assertion is caused by the mismatch between `def_br = Yes(Mut)` and `max_ref_mutbl = Not`, but in my understanding this violation is the same as E0596. check_pat_ident() does returns E0596 by a similar reason [here](https://github.com/rust-lang/rust/blob/fdd1a3b02687817cea41f6bacae3d5fbed2b2cd0/compiler/rustc_hir_typeck/src/pat.rs#L837-L856).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way 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.

6 participants