Skip to content

debug ice: overlapping suggestions when needless_lifetimes removes back-to-back lifetimes  #11197

Open
@matthiaskrgr

Description

Summary

The code triggers a rust debug ice if clippy/rustc is built with debug assertions, maybe

Reproducer

I tried this code:

#[allow(unused, clippy::extra_unused_lifetimes)]

fn foo<'instruction_set, 'b, 'a>(x: &'a str, b: &'b str) {}

fn main() {}

I expected to see this happen:

Instead, this happened:

warning: the following explicit lifetimes could be elided: 'a, 'b
 --> treereduce.out:3:26
  |
3 | fn foo<'instruction_set, 'b, 'a>(x: &'a str, b: &'b str) {}
  |                          ^^  ^^      ^^          ^^
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
  = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
  |
3 - fn foo<'instruction_set, 'b, 'a>(x: &'a str, b: &'b str) {}
3 + fn foo<'instruction_set, >(x: &str, b: &str) {}
  |

warning: 1 warning emitted
thread 'rustc' panicked at 'assertion failed: `(left == right)`
  left: `Some([SubstitutionPart { span: treereduce.out:3:26: 3:30 (#0), snippet: "" }, SubstitutionPart { span: treereduce.out:3:28: 3:32 (#0), snippet: "" }])`,
 right: `None`: suggestion must not have overlapping parts', /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:628:9
stack backtrace:
   0:     0x7fee172e0a06 - std::backtrace_rs::backtrace::libunwind::trace::h30fa42aa2db88158
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fee172e0a06 - std::backtrace_rs::backtrace::trace_unsynchronized::h2b9cc808f86f85f7
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fee172e0a06 - std::sys_common::backtrace::_print_fmt::h268804fe13f30210
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fee172e0a06 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h692ee2dd29cb6a32
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fee1733df87 - core::fmt::rt::Argument::fmt::h1dc8855cf0be02de
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:138:9
   5:     0x7fee1733df87 - core::fmt::write::h35c6f281391d7802
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fee172b7325 - std::io::Write::write_fmt::h5f9eeb8695999550
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1714:15
   7:     0x7fee172e0805 - std::sys_common::backtrace::_print::h0b343769d5ca97ef
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fee172e0805 - std::sys_common::backtrace::print::h1a9dcf70c9d72f51
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fee172af48f - std::panicking::panic_hook_with_disk_dump::{{closure}}::hc7973b308e91222c
  10:     0x7fee172af16c - std::panicking::panic_hook_with_disk_dump::hd400d65e6a0e41d2
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:312:9
  11:     0x7fee1909f110 - rustc_driver_impl[7abd6836919c053]::install_ice_hook::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1363:13
  12:     0x7fee172afd27 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9913b6eac17b3933
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2021:9
  13:     0x7fee172afd27 - std::panicking::rust_panic_with_hook::hd3dcfd82aa6687cf
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:733:13
  14:     0x7fee172e0e97 - std::panicking::begin_panic_handler::{{closure}}::h30ada8e3083a8d7e
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:621:13
  15:     0x7fee172e0c66 - std::sys_common::backtrace::__rust_end_short_backtrace::hc69fe69b4cacc2af
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:151:18
  16:     0x7fee172af892 - rust_begin_unwind
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:617:5
  17:     0x7fee1727a583 - core::panicking::panic_fmt::h2aa9ff874ea77c22
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:67:14
  18:     0x7fee1727aabb - core::panicking::assert_failed_inner::h4ebd8a79193f4ada
  19:     0x55602811dd4f - core[1cc32ee8b476061a]::panicking::assert_failed::<core[1cc32ee8b476061a]::option::Option<&[rustc_errors[4a72a762f26cae1d]::SubstitutionPart; 2usize]>, core[1cc32ee8b476061a]::option::Option<&[rustc_errors[4a72a762f26cae1d]::SubstitutionPart; 2usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:229:5
  20:     0x5560283e863d - <rustc_errors[4a72a762f26cae1d]::diagnostic::Diagnostic>::multipart_suggestion_with_style::<&str>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:628:9
  21:     0x5560284e02cc - <rustc_errors[4a72a762f26cae1d]::diagnostic::Diagnostic>::multipart_suggestion::<&str>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:584:9
  22:     0x5560284e02cc - clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}
                               at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_lints/src/lifetimes.rs:227:26
  23:     0x5560284e02cc - clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then::<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_utils/src/diagnostics.rs:149:9
  24:     0x5560284e02cc - <clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>::{closure#0} as core[1cc32ee8b476061a]::ops::function::FnOnce<(&mut rustc_errors[4a72a762f26cae1d]::diagnostic_builder::DiagnosticBuilder<()>,)>>::call_once::{shim:vtable#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  25:     0x5560284ded3e - <alloc[86fc1011f0da8be9]::boxed::Box<dyn for<'a, 'b> core[1cc32ee8b476061a]::ops::function::FnOnce<(&'a mut rustc_errors[4a72a762f26cae1d]::diagnostic_builder::DiagnosticBuilder<'b, ()>,), Output = &'a mut rustc_errors[4a72a762f26cae1d]::diagnostic_builder::DiagnosticBuilder<'b, ()>>> as core[1cc32ee8b476061a]::ops::function::FnOnce<(&mut rustc_errors[4a72a762f26cae1d]::diagnostic_builder::DiagnosticBuilder<()>,)>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2007:9
  26:     0x5560284ded3e - rustc_middle[6d3884defc02ee9d]::lint::struct_lint_level::struct_lint_level_impl::<alloc[86fc1011f0da8be9]::string::String>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/lint.rs:440:9
  27:     0x55602847ec3b - rustc_middle[6d3884defc02ee9d]::lint::struct_lint_level::<alloc[86fc1011f0da8be9]::string::String, clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/lint.rs:444:5
  28:     0x55602847ec3b - <rustc_middle[6d3884defc02ee9d]::ty::context::TyCtxt>::struct_span_lint_hir::<alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, alloc[86fc1011f0da8be9]::string::String, clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1896:9
  29:     0x55602851aea2 - <rustc_lint[cbe75d113ae0540b]::context::LateContext as rustc_lint[cbe75d113ae0540b]::context::LintContext>::lookup::<alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, alloc[86fc1011f0da8be9]::string::String, clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/context.rs:1115:24
  30:     0x55602851aea2 - <rustc_lint[cbe75d113ae0540b]::context::LateContext as rustc_lint[cbe75d113ae0540b]::context::LintContext>::struct_span_lint::<alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, alloc[86fc1011f0da8be9]::string::String, clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/context.rs:1017:9
  31:     0x55602851aea2 - clippy_utils[2c80cf223e22e90b]::diagnostics::span_lint_and_then::<rustc_lint[cbe75d113ae0540b]::context::LateContext, alloc[86fc1011f0da8be9]::vec::Vec<rustc_span[8fc2bc2477ece13]::span_encoding::Span>, clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner::{closure#8}>
                               at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_utils/src/diagnostics.rs:148:5
  32:     0x55602851aea2 - clippy_lints[95647f253dd1227f]::lifetimes::check_fn_inner
                               at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_lints/src/lifetimes.rs:202:9
  33:     0x556028518606 - <clippy_lints[95647f253dd1227f]::lifetimes::Lifetimes as rustc_lint[cbe75d113ae0540b]::passes::LateLintPass>::check_item
                               at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_lints/src/lifetimes.rs:95:13
  34:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass as rustc_lint[cbe75d113ae0540b]::passes::LateLintPass>::check_item
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:330:21
  35:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_item::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:136:17
  36:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>>::with_param_env::<<rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_item::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:76:9
  37:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_item::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:135:13
  38:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_item::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:64:9
  39:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_item
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:134:9
  40:     0x7fee19c07fc2 - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_nested_item
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:239:13
  41:     0x7fee19bfe80c - rustc_hir[8fe631a716458333]::intravisit::walk_mod::<rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:564:9
  42:     0x7fee19bfe80c - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>>::process_mod
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:82:9
  43:     0x7fee19bfe80c - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass> as rustc_hir[8fe631a716458333]::intravisit::Visitor>::visit_mod
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:228:13
  44:     0x7fee19bfe80c - <rustc_middle[6d3884defc02ee9d]::hir::map::Map>::walk_toplevel_module::<rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:544:9
  45:     0x7fee19bfe80c - rustc_lint[cbe75d113ae0540b]::late::late_lint_crate_inner::<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:428:9
  46:     0x7fee19bfe80c - <rustc_lint[cbe75d113ae0540b]::late::LateContextAndPass<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<rustc_lint[cbe75d113ae0540b]::late::late_lint_crate_inner<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:64:9
  47:     0x7fee19bfe80c - rustc_lint[cbe75d113ae0540b]::late::late_lint_crate_inner::<rustc_lint[cbe75d113ae0540b]::late::RuntimeCombinedLateLintPass>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:424:5
  48:     0x7fee19bfe80c - rustc_lint[cbe75d113ae0540b]::late::late_lint_crate::<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:412:9
  49:     0x7fee19c54172 - rustc_lint[cbe75d113ae0540b]::late::check_crate::<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:443:17
  50:     0x7fee19c54172 - <rustc_data_structures[ce0cbe122e78aa38]::profiling::VerboseTimingGuard>::run::<(), rustc_lint[cbe75d113ae0540b]::late::check_crate<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:752:9
  51:     0x7fee19c54172 - <rustc_session[b37908bbd82c022d]::session::Session>::time::<(), rustc_lint[cbe75d113ae0540b]::late::check_crate<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:11:9
  52:     0x7fee19bf762b - rustc_lint[cbe75d113ae0540b]::late::check_crate::<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:441:13
  53:     0x7fee19bf762b - rustc_data_structures[ce0cbe122e78aa38]::sync::join::<rustc_lint[cbe75d113ae0540b]::late::check_crate<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}, rustc_lint[cbe75d113ae0540b]::late::check_crate<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#1}, (), ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync.rs:189:14
  54:     0x7fee19bf762b - rustc_lint[cbe75d113ae0540b]::late::check_crate::<rustc_lint[cbe75d113ae0540b]::BuiltinCombinedLateLintPass, rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:439:5
  55:     0x7fee19bf762b - rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:849:29
  56:     0x7fee19bf762b - <rustc_data_structures[ce0cbe122e78aa38]::profiling::VerboseTimingGuard>::run::<(), rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:752:9
  57:     0x7fee19bf762b - <rustc_session[b37908bbd82c022d]::session::Session>::time::<(), rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:11:9
  58:     0x7fee19bf762b - rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:848:25
  59:     0x7fee19bf762b - <rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2} as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  60:     0x7fee19bf762b - <core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}> as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
  61:     0x7fee19bf7c61 - std[aeffd6322052592a]::panicking::try::do_call::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}>, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:524:40
  62:     0x7fee19bf7c61 - std[aeffd6322052592a]::panicking::try::<(), core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:488:19
  63:     0x7fee19bf7c61 - std[aeffd6322052592a]::panic::catch_unwind::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}::{closure#2}>, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:142:14
  64:     0x7fee19bf7c61 - rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync.rs:199:37
  65:     0x7fee19bf7c61 - <rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1} as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  66:     0x7fee19bf7c61 - <core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}> as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
  67:     0x7fee19c5521a - std[aeffd6322052592a]::panicking::try::do_call::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}>, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:524:40
  68:     0x7fee19c5521a - std[aeffd6322052592a]::panicking::try::<(), core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:488:19
  69:     0x7fee19c5521a - std[aeffd6322052592a]::panic::catch_unwind::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}::{closure#1}>, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:142:14
  70:     0x7fee19c5521a - rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync.rs:199:37
  71:     0x7fee19c5521a - <rustc_data_structures[ce0cbe122e78aa38]::profiling::VerboseTimingGuard>::run::<(), rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:752:9
  72:     0x7fee19c5521a - <rustc_session[b37908bbd82c022d]::session::Session>::time::<(), rustc_interface[934f6e358140c59d]::passes::analysis::{closure#5}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:11:9
  73:     0x7fee19c22c2f - rustc_interface[934f6e358140c59d]::passes::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:834:5
  74:     0x7fee1ab6a571 - rustc_query_impl[4dcbb0eb2fff6f8b]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:582:47
  75:     0x7fee1ab6a571 - rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[4dcbb0eb2fff6f8b]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:506:18
  76:     0x7fee1abb8b37 - rustc_query_impl[4dcbb0eb2fff6f8b]::query_impl::analysis::dynamic_query::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:578:25
  77:     0x7fee1abb8b37 - <rustc_query_impl[4dcbb0eb2fff6f8b]::query_impl::analysis::dynamic_query::{closure#2} as core[1cc32ee8b476061a]::ops::function::FnOnce<(rustc_middle[6d3884defc02ee9d]::ty::context::TyCtxt, ())>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  78:     0x7fee1aa7ef49 - <rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false> as rustc_query_system[6af0a3b9967eef64]::query::config::QueryConfig<rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:116:9
  79:     0x7fee1aa7ef49 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:481:72
  80:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context::<rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  81:     0x7fee1aa7ef49 - <std[aeffd6322052592a]::thread::local::LocalKey<core[1cc32ee8b476061a]::cell::Cell<*const ()>>>::try_with::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context<rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:270:16
  82:     0x7fee1aa7ef49 - <std[aeffd6322052592a]::thread::local::LocalKey<core[1cc32ee8b476061a]::cell::Cell<*const ()>>>::with::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context<rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:246:9
  83:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context::<rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
  84:     0x7fee1aa7ef49 - <rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query::<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:149:13
  85:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_related_context::<<rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:133:9
  86:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_context::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_related_context<<rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:36
  87:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_context_opt::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_context<rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_related_context<<rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:100:18
  88:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_context::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_related_context<<rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:5
  89:     0x7fee1aa7ef49 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::with_related_context::<<rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:5
  90:     0x7fee1aa7ef49 - <rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt as rustc_query_system[6af0a3b9967eef64]::query::QueryContext>::start_query::<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:134:9
  91:     0x7fee1aa7ef49 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job_non_incr::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:481:18
  92:     0x7fee1aa7ef49 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:414:9
  93:     0x7fee1aa7ef49 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::try_execute_query::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:359:13
  94:     0x7fee1acd9bb2 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:811:32
  95:     0x7fee1acd9bb2 - stacker[13632619fe1702]::maybe_grow::<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
  96:     0x7fee1acd9bb2 - rustc_data_structures[ce0cbe122e78aa38]::stack::ensure_sufficient_stack::<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  97:     0x7fee1acd9bb2 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:811:5
  98:     0x7fee1acd9bb2 - rustc_query_impl[4dcbb0eb2fff6f8b]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:556:26
  99:     0x7fee190eb700 - rustc_middle[6d3884defc02ee9d]::query::plumbing::query_get_at::<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:155:17
 100:     0x7fee190eb700 - <rustc_middle[6d3884defc02ee9d]::query::plumbing::TyCtxtAt>::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/mod.rs:2202:1
 101:     0x7fee190eb700 - <rustc_middle[6d3884defc02ee9d]::ty::context::TyCtxt>::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:376:35
 102:     0x7fee190eb700 - rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:440:52
 103:     0x7fee190eb700 - <rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:588:37
 104:     0x7fee190eb700 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context::<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
 105:     0x7fee190eb700 - <std[aeffd6322052592a]::thread::local::LocalKey<core[1cc32ee8b476061a]::cell::Cell<*const ()>>>::try_with::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:270:16
 106:     0x7fee190eb700 - <std[aeffd6322052592a]::thread::local::LocalKey<core[1cc32ee8b476061a]::cell::Cell<*const ()>>>::with::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:246:9
 107:     0x7fee190eb700 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context::<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
 108:     0x7fee190eb700 - <rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:588:9
 109:     0x7fee190a0f84 - rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:440:13
 110:     0x7fee190a0f84 - <rustc_interface[934f6e358140c59d]::interface::Compiler>::enter::<rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}::{closure#2}, core[1cc32ee8b476061a]::result::Result<core[1cc32ee8b476061a]::option::Option<rustc_interface[934f6e358140c59d]::queries::Linker>, rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:389:19
 111:     0x7fee19109fcf - rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:381:22
 112:     0x7fee19109fcf - rustc_interface[934f6e358140c59d]::interface::run_compiler::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:339:21
 113:     0x7fee19109fcf - rustc_span[8fc2bc2477ece13]::set_source_map::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:1041:5
 114:     0x7fee190a1b79 - rustc_interface[934f6e358140c59d]::interface::run_compiler::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:333:13
 115:     0x7fee190a1b79 - <scoped_tls[63aa9906a2b9d3f0]::ScopedKey<rustc_span[8fc2bc2477ece13]::SessionGlobals>>::set::<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9
 116:     0x7fee190e4b73 - rustc_span[8fc2bc2477ece13]::create_session_globals_then::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:120:5
 117:     0x7fee190e4b73 - rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals::<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:163:38
 118:     0x7fee190e4b73 - std[aeffd6322052592a]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:135:18
 119:     0x7fee190e7445 - <std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_::<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:529:17
 120:     0x7fee190e7445 - <core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
 121:     0x7fee190e7445 - std[aeffd6322052592a]::panicking::try::do_call::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:524:40
 122:     0x7fee190e7445 - std[aeffd6322052592a]::panicking::try::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:488:19
 123:     0x7fee190e7445 - std[aeffd6322052592a]::panic::catch_unwind::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:142:14
 124:     0x7fee190e7445 - <std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_::<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:528:30
 125:     0x7fee190e7445 - <<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[934f6e358140c59d]::util::run_in_thread_pool_with_globals<rustc_interface[934f6e358140c59d]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[7abd6836919c053]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1} as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 126:     0x7fee172c7ed9 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h878296a20baf385f
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2007:9
 127:     0x7fee172c7ed9 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h765f691d0781ffe6
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2007:9
 128:     0x7fee172f66b5 - std::sys::unix::thread::Thread::new::thread_start::h4b8556bc7501ac26
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/unix/thread.rs:108:17
 129:     0x7fee1709d44b - <unknown>
 130:     0x7fee17120e40 - <unknown>
 131:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: please attach the file at `/tmp/im/rustc-ice-2023-07-20T18:58:24.406433785Z-1287951.txt` to your bug report

query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
note: Clippy version: clippy 0.1.73 (24c3d8421f9 2023-07-20)

maybe the spans are so close togeher that they overlap? 🤔

Version

0646a5d1aa3745cb448db247f6fa432890a1812b with debug assertions

Additional Labels

No response

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingL-suggestionLint: Improving, adding or fixing lint suggestions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions