Skip to content

cargo clippy internal compiler error #11733

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

Closed
mmaker opened this issue Oct 29, 2023 · 2 comments
Closed

cargo clippy internal compiler error #11733

mmaker opened this issue Oct 29, 2023 · 2 comments
Labels
C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@mmaker
Copy link

mmaker commented Oct 29, 2023

Summary

I can't provide a minimal verifier example, but I am happy to provide the code that will make it fail

Version

rustc version: 1.74.0-nightly (b3aa8e7 2023-09-21)
platform: aarch64-apple-darwin
note: Clippy version: clippy 0.1.74 (b3aa8e7 2023-09-21)

Error output

Backtrace

thread 'rustc' panicked at /rustc/b3aa8e7168a3d940122db3561289ffbf3f587262/compiler/rustc_query_system/src/dep_graph/graph.rs:350:9:
forcing query with already existing `DepNode`
- query-key: (Indirect { alloc_id: alloc210, offset: Size(0 bytes) }, helper::AesWitnessRegions)
- dep-node: try_destructure_mir_constant_for_diagnostics(97e1f509f14d8a6a-de06598ea269aeb5)
stack backtrace:
 0:        0x10649a738 - std::backtrace::Backtrace::create::h401ead78657d8d93
 1:        0x10ea61048 - <alloc[577af06e49a22d83]::boxed::Box<rustc_driver_impl[b0feff6713d08b03]::install_ice_hook::{closure#0}> as core[4c062afafb9945e7]::ops::function::Fn<(&dyn for<'a, 'b> core[4c062afafb9945e7]::ops::function::Fn<(&'a core[4c062afafb9945e7]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[4c062afafb9945e7]::marker::Sync + core[4c062afafb9945e7]::marker::Send, &core[4c062afafb9945e7]::panic::panic_info::PanicInfo)>>::call
 2:        0x1064b3824 - std::panicking::rust_panic_with_hook::hc0a5a4fb3727e423
 3:        0x1064b35f0 - std::panicking::begin_panic_handler::{{closure}}::hb43691ae6b22a6a2
 4:        0x1064b0adc - std::sys_common::backtrace::__rust_end_short_backtrace::h743ce805e9eda2a0
 5:        0x1064b335c - _rust_begin_unwind
 6:        0x10652f2ec - core::panicking::panic_fmt::h880bc26b9b9f9f7a
 7:        0x111d2613c - rustc_query_system[2931b1a1433193b6]::query::plumbing::try_execute_query::<rustc_query_impl[bdd379c69ab3d715]::DynamicConfig<rustc_query_system[2931b1a1433193b6]::query::caches::DefaultCache<(rustc_middle[6fdc6aa30d1ce727]::mir::consts::ConstValue, rustc_middle[6fdc6aa30d1ce727]::ty::Ty), rustc_middle[6fdc6aa30d1ce727]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[bdd379c69ab3d715]::plumbing::QueryCtxt, true>
 8:        0x111e98414 - rustc_query_impl[bdd379c69ab3d715]::query_impl::try_destructure_mir_constant_for_diagnostics::get_query_incr::__rust_end_short_backtrace
 9:        0x1051151a8 - clippy_utils[c4b40c25b968b6b4]::consts::field_of_struct
10:        0x105113784 - <clippy_utils[c4b40c25b968b6b4]::consts::ConstEvalLateContext>::expr
11:        0x105113330 - <clippy_utils[c4b40c25b968b6b4]::consts::ConstEvalLateContext>::expr
12:        0x10511275c - clippy_utils[c4b40c25b968b6b4]::consts::constant_simple
13:        0x104e091cc - clippy_lints[3875ff740690e291]::operators::erasing_op::check_op
14:        0x104d8916c - <clippy_lints[3875ff740690e291]::operators::Operators as rustc_lint[d149a6447e7835bd]::passes::LateLintPass>::check_expr
15:        0x11258d7c4 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
16:        0x1125af678 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
17:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
18:        0x1125af678 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
19:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
20:        0x11258e09c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_stmt
21:        0x1125a2840 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_block::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
22:        0x1125af3d8 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
23:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
24:        0x1125ad7e4 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_arm::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
25:        0x11258e94c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_arm
26:        0x1125af924 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
27:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
28:        0x11258e09c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_stmt
29:        0x1125a2840 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_block::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
30:        0x1125af268 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
31:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
32:        0x1125ad7e4 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_arm::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
33:        0x11258e94c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_arm
34:        0x1125af924 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
35:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
36:        0x1125af678 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
37:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
38:        0x1125a287c - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_block::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
39:        0x1125af3d8 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
40:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
41:        0x1125ad7e4 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_arm::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
42:        0x11258e94c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_arm
43:        0x1125af924 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
44:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
45:        0x11258e09c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_stmt
46:        0x1125a2840 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_block::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
47:        0x1125af268 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
48:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
49:        0x1125ad7e4 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_arm::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
50:        0x11258e94c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_arm
51:        0x1125af924 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
52:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
53:        0x1125af678 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
54:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
55:        0x1125a287c - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_block::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
56:        0x1125af3d8 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_expr::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
57:        0x11258d7e0 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}>
58:        0x1125aec90 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_body::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
59:        0x11258d90c - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_nested_body
60:        0x1125b1320 - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_item::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
61:        0x11258a734 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_nested_item
62:        0x1125b138c - rustc_hir[15b7fff9c4b26cb5]::intravisit::walk_item::<rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass>>
63:        0x11258a734 - <rustc_lint[d149a6447e7835bd]::late::LateContextAndPass<rustc_lint[d149a6447e7835bd]::late::RuntimeCombinedLateLintPass> as rustc_hir[15b7fff9c4b26cb5]::intravisit::Visitor>::visit_nested_item
64:        0x11258f788 - rustc_lint[d149a6447e7835bd]::late::late_lint_crate
65:        0x1125b81f0 - <rustc_session[145d9ee219d6763c]::session::Session>::time::<(), rustc_lint[d149a6447e7835bd]::late::check_crate::{closure#0}::{closure#0}>
66:        0x11259051c - <rustc_data_structures[569064ae32d51381]::sync::parallel::ParallelGuard>::run::<(), rustc_lint[d149a6447e7835bd]::late::check_crate::{closure#0}>
67:        0x112580c28 - rustc_data_structures[569064ae32d51381]::sync::parallel::disabled::join::<rustc_lint[d149a6447e7835bd]::late::check_crate::{closure#0}, rustc_lint[d149a6447e7835bd]::late::check_crate::{closure#1}, (), ()>
68:        0x11258f93c - rustc_lint[d149a6447e7835bd]::late::check_crate
69:        0x10ebf8444 - <core[4c062afafb9945e7]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[e59f22157e6f14e1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}::{closure#0}::{closure#2}> as core[4c062afafb9945e7]::ops::function::FnOnce<()>>::call_once
70:        0x10eb9fc0c - <rustc_data_structures[569064ae32d51381]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[e59f22157e6f14e1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}::{closure#0}::{closure#2}>
71:        0x10ebf8d78 - <core[4c062afafb9945e7]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[e59f22157e6f14e1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}> as core[4c062afafb9945e7]::ops::function::FnOnce<()>>::call_once
72:        0x10eba0368 - <rustc_data_structures[569064ae32d51381]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[e59f22157e6f14e1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}>
73:        0x10ebf1eb8 - <rustc_session[145d9ee219d6763c]::session::Session>::time::<(), rustc_interface[e59f22157e6f14e1]::passes::analysis::{closure#6}>
74:        0x10ebdc868 - rustc_interface[e59f22157e6f14e1]::passes::analysis
75:        0x111d66c30 - rustc_query_impl[bdd379c69ab3d715]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[bdd379c69ab3d715]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6fdc6aa30d1ce727]::query::erase::Erased<[u8; 1usize]>>
76:        0x111e03c94 - <rustc_query_impl[bdd379c69ab3d715]::query_impl::analysis::dynamic_query::{closure#2} as core[4c062afafb9945e7]::ops::function::FnOnce<(rustc_middle[6fdc6aa30d1ce727]::ty::context::TyCtxt, ())>>::call_once
77:        0x111cdc8bc - rustc_query_system[2931b1a1433193b6]::query::plumbing::try_execute_query::<rustc_query_impl[bdd379c69ab3d715]::DynamicConfig<rustc_query_system[2931b1a1433193b6]::query::caches::SingleCache<rustc_middle[6fdc6aa30d1ce727]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[bdd379c69ab3d715]::plumbing::QueryCtxt, true>
78:        0x111e85e14 - rustc_query_impl[bdd379c69ab3d715]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
79:        0x10ea832c8 - <rustc_middle[6fdc6aa30d1ce727]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[b0feff6713d08b03]::run_compiler::{closure#1}::{closure#2}::{closure#6}, core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>>
80:        0x10ea899a4 - rustc_span[4f4e16173d51495e]::set_source_map::<core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>, rustc_interface[e59f22157e6f14e1]::interface::run_compiler<core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>, rustc_driver_impl[b0feff6713d08b03]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
81:        0x10ea5eda0 - std[377b224fec47705e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[e59f22157e6f14e1]::util::run_in_thread_with_globals<rustc_interface[e59f22157e6f14e1]::interface::run_compiler<core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>, rustc_driver_impl[b0feff6713d08b03]::run_compiler::{closure#1}>::{closure#0}, core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>>
82:        0x10ea5ff10 - <<std[377b224fec47705e]::thread::Builder>::spawn_unchecked_<rustc_interface[e59f22157e6f14e1]::util::run_in_thread_with_globals<rustc_interface[e59f22157e6f14e1]::interface::run_compiler<core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>, rustc_driver_impl[b0feff6713d08b03]::run_compiler::{closure#1}>::{closure#0}, core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[4c062afafb9945e7]::result::Result<(), rustc_span[4f4e16173d51495e]::ErrorGuaranteed>>::{closure#1} as core[4c062afafb9945e7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
83:        0x1064bc584 - std::sys::unix::thread::Thread::new::thread_start::h97e7f16b037c0653
84:        0x18fc6b034 - __pthread_joiner_wake


rustc version: 1.74.0-nightly (b3aa8e716 2023-09-21)
platform: aarch64-apple-darwin

query stack during panic:
#0 [try_destructure_mir_constant_for_diagnostics] destructuring MIR constant
#1 [analysis] running analysis passes on this crate
end of query stack  ```

</p>
</details>
@mmaker mmaker added C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️ labels Oct 29, 2023
@y21
Copy link
Member

y21 commented Oct 29, 2023

Does this happen on a more recent nightly? The backtrace looks very similar to #11500, which is already fixed

@mmaker
Copy link
Author

mmaker commented Oct 29, 2023

ha! it does not .. thank you so much and sorry for the noise!

@mmaker mmaker closed this as completed Oct 29, 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

No branches or pull requests

2 participants