Created
December 17, 2021 20:56
-
-
Save eholk/009161aba733a571ae2928c2de2a9e3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: internal compiler error: compiler\rustc_middle\src\ty\impls_ty.rs:97:17: StableHasher: unexpected region '_#8r | |
thread 'rustc' panicked at 'Box<dyn Any>', compiler\rustc_errors\src\lib.rs:1169:9 | |
stack backtrace: | |
0: std::panicking::begin_panic<rustc_errors::ExplicitBug> | |
at .\library\std\src\panicking.rs:525 | |
1: std::panic::panic_any<rustc_errors::ExplicitBug> | |
at .\library\std\src\panic.rs:57 | |
2: rustc_errors::HandlerInner::bug | |
at .\compiler\rustc_errors\src\lib.rs:1169 | |
3: rustc_errors::Handler::bug | |
at .\compiler\rustc_errors\src\lib.rs:864 | |
4: rustc_middle::util::bug::opt_span_bug_fmt::closure$0 | |
at .\compiler\rustc_middle\src\util\bug.rs:34 | |
5: rustc_middle::ty::context::tls::with_opt::closure$0 | |
at .\compiler\rustc_middle\src\ty\context.rs:1815 | |
6: rustc_middle::ty::context::tls::with_context_opt | |
at .\compiler\rustc_middle\src\ty\context.rs:1767 | |
7: rustc_middle::ty::context::tls::with_opt<rustc_middle::util::bug::opt_span_bug_fmt::closure$0,tuple$<> > | |
at .\compiler\rustc_middle\src\ty\context.rs:1811 | |
8: rustc_middle::util::bug::opt_span_bug_fmt<rustc_span::span_encoding::Span> | |
at .\compiler\rustc_middle\src\util\bug.rs:30 | |
9: rustc_middle::util::bug::bug_fmt | |
at .\compiler\rustc_middle\src\util\bug.rs:14 | |
10: rustc_middle::ty::impls_ty::impl$3::hash_stable | |
at .\compiler\rustc_middle\src\ty\impls_ty.rs:97 | |
11: rustc_data_structures::stable_hasher::impl$31::hash_stable | |
at .\compiler\rustc_data_structures\src\stable_hasher.rs:444 | |
12: rustc_middle::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_query_system_ich_StableHashingContext_ctx_FOR_TyKind::impl$0::hash_stable | |
at .\compiler\rustc_middle\src\ty\sty.rs:82 | |
13: rustc_data_structures::stable_hasher::impl$31::hash_stable | |
at .\compiler\rustc_data_structures\src\stable_hasher.rs:444 | |
14: rustc_middle::ty::impl$44::hash_stable | |
at .\compiler\rustc_middle\src\ty\mod.rs:1462 | |
15: rustc_query_system::dep_graph::dep_node::impl$2::to_fingerprint | |
at .\compiler\rustc_query_system\src\dep_graph\dep_node.rs:137 | |
16: rustc_query_system::dep_graph::dep_node::DepNode::construct<enum$<rustc_middle::dep_graph::dep_node::DepKind>,rustc_middle::ty::context::TyCtxt,rustc_middle::ty::ParamEnvAnd<ref$<rustc_middle::ty::TyS> > > | |
at .\compiler\rustc_query_system\src\dep_graph\dep_node.rs:76 | |
17: rustc_query_system::query::config::QueryVtable::to_dep_node | |
at .\compiler\rustc_query_system\src\query\config.rs:39 | |
18: rustc_query_system::query::plumbing::execute_job::closure$1 | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:452 | |
19: core::option::Option::get_or_insert_with | |
at .\library\core\src\option.rs:1316 | |
20: rustc_query_system::query::plumbing::execute_job | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:452 | |
21: rustc_query_system::query::plumbing::try_execute_query | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:401 | |
22: rustc_query_system::query::plumbing::get_query<rustc_query_impl::queries::type_uninhabited_from,rustc_query_impl::plumbing::QueryCtxt> | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:756 | |
23: rustc_query_impl::impl$534::type_uninhabited_from | |
at .\compiler\rustc_query_impl\src\plumbing.rs:537 | |
24: rustc_middle::ty::query::TyCtxtAt::type_uninhabited_from | |
at .\compiler\rustc_middle\src\ty\query.rs:253 | |
25: rustc_middle::ty::context::TyCtxt::type_uninhabited_from | |
at .\compiler\rustc_middle\src\ty\query.rs:234 | |
26: rustc_middle::ty::TyS::uninhabited_from | |
at .\compiler\rustc_middle\src\ty\inhabitedness\mod.rs:194 | |
27: rustc_middle::ty::context::TyCtxt::is_ty_uninhabited_from | |
at .\compiler\rustc_middle\src\ty\inhabitedness\mod.rs:104 | |
28: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:200 | |
29: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:194 | |
30: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:233 | |
31: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:144 | |
32: rustc_hir::intravisit::walk_stmt | |
at .\compiler\rustc_hir\src\intravisit.rs:1119 | |
33: rustc_hir::intravisit::Visitor::visit_stmt | |
at .\compiler\rustc_hir\src\intravisit.rs:378 | |
34: rustc_hir::intravisit::walk_block | |
at .\compiler\rustc_hir\src\intravisit.rs:1109 | |
35: rustc_hir::intravisit::Visitor::visit_block | |
at .\compiler\rustc_hir\src\intravisit.rs:375 | |
36: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:182 | |
37: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr::closure$0 | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:163 | |
38: core::iter::traits::iterator::Iterator::fold | |
at .\library\core\src\iter\traits\iterator.rs:2171 | |
39: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:146 | |
40: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:233 | |
41: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:233 | |
42: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::impl$1::visit_expr | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:233 | |
43: rustc_hir::intravisit::walk_body | |
at .\compiler\rustc_hir\src\intravisit.rs:518 | |
44: rustc_typeck::check::generator_interior::drop_ranges::cfg_build::build_control_flow_graph | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges\cfg_build.rs:32 | |
45: rustc_typeck::check::generator_interior::drop_ranges::compute_drop_ranges | |
at .\compiler\rustc_typeck\src\check\generator_interior\drop_ranges.rs:39 | |
46: rustc_typeck::check::generator_interior::resolve_interior | |
at .\compiler\rustc_typeck\src\check\generator_interior.rs:199 | |
47: rustc_typeck::check::fn_ctxt::FnCtxt::resolve_generator_interiors | |
at .\compiler\rustc_typeck\src\check\fn_ctxt\_impl.rs:611 | |
48: rustc_typeck::check::typeck_with_fallback::closure$1 | |
at .\compiler\rustc_typeck\src\check\mod.rs:467 | |
49: rustc_typeck::check::inherited::impl$2::enter::closure$0 | |
at .\compiler\rustc_typeck\src\check\inherited.rs:96 | |
50: rustc_infer::infer::InferCtxtBuilder::enter<ref$<rustc_middle::ty::context::TypeckResults>,rustc_typeck::check::inherited::impl$2::enter::closure$0> | |
at .\compiler\rustc_infer\src\infer\mod.rs:613 | |
51: rustc_typeck::check::inherited::InheritedBuilder::enter | |
at .\compiler\rustc_typeck\src\check\inherited.rs:96 | |
52: rustc_typeck::check::typeck_with_fallback | |
at .\compiler\rustc_typeck\src\check\mod.rs:365 | |
53: rustc_typeck::check::typeck | |
at .\compiler\rustc_typeck\src\check\mod.rs:330 | |
54: rustc_query_system::dep_graph::graph::impl$3::with_task_impl::closure$0 | |
at .\compiler\rustc_query_system\src\dep_graph\graph.rs:256 | |
55: rustc_middle::dep_graph::impl$0::with_deps::closure$0::closure$0 | |
at .\compiler\rustc_middle\src\dep_graph\mod.rs:55 | |
56: rustc_middle::ty::context::tls::enter_context::closure$0 | |
at .\compiler\rustc_middle\src\ty\context.rs:1750 | |
57: rustc_middle::ty::context::tls::set_tlv | |
at .\compiler\rustc_middle\src\ty\context.rs:1734 | |
58: rustc_middle::ty::context::tls::enter_context | |
at .\compiler\rustc_middle\src\ty\context.rs:1750 | |
59: rustc_middle::dep_graph::impl$0::with_deps::closure$0 | |
at .\compiler\rustc_middle\src\dep_graph\mod.rs:55 | |
60: rustc_middle::ty::context::tls::with_context::closure$0 | |
at .\compiler\rustc_middle\src\ty\context.rs:1778 | |
61: rustc_middle::ty::context::tls::with_context_opt | |
at .\compiler\rustc_middle\src\ty\context.rs:1767 | |
62: rustc_middle::ty::context::tls::with_context | |
at .\compiler\rustc_middle\src\ty\context.rs:1778 | |
63: rustc_middle::dep_graph::impl$0::with_deps<rustc_query_system::dep_graph::graph::impl$3::with_task_impl::closure$0,alloc::rc::Rc<alloc::vec::Vec<rustc_session::cstore::NativeLib,alloc::alloc::Global> > > | |
at .\compiler\rustc_middle\src\dep_graph\mod.rs:52 | |
64: rustc_query_system::dep_graph::graph::DepGraph::with_task_impl | |
at .\compiler\rustc_query_system\src\dep_graph\graph.rs:256 | |
65: rustc_query_system::dep_graph::graph::DepGraph::with_task<enum$<rustc_middle::dep_graph::dep_node::DepKind>,rustc_middle::ty::context::TyCtxt,rustc_span::def_id::LocalDefId,ref$<rustc_middle::mir::query::UnsafetyCheckResult> > | |
at .\compiler\rustc_query_system\src\dep_graph\graph.rs:210 | |
66: rustc_query_system::query::plumbing::execute_job::closure$3 | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:476 | |
67: stacker::maybe_grow | |
at C:\Users\ericholk\.cargo\registry\src\github.com-1ecc6299db9ec823\stacker-0.1.14\src\lib.rs:55 | |
68: rustc_data_structures::stack::ensure_sufficient_stack<tuple$<ref$<rustc_middle::ty::context::TypeckResults>,rustc_query_system::dep_graph::graph::DepNodeIndex>,rustc_query_system::query::plumbing::execute_job::closure$3> | |
at .\compiler\rustc_data_structures\src\stack.rs:16 | |
69: rustc_query_impl::plumbing::impl$2::start_query::closure$0::closure$0 | |
at .\compiler\rustc_query_impl\src\plumbing.rs:103 | |
70: rustc_middle::ty::context::tls::enter_context::closure$0 | |
at .\compiler\rustc_middle\src\ty\context.rs:1750 | |
71: rustc_middle::ty::context::tls::set_tlv | |
at .\compiler\rustc_middle\src\ty\context.rs:1734 | |
72: rustc_middle::ty::context::tls::enter_context | |
at .\compiler\rustc_middle\src\ty\context.rs:1750 | |
73: rustc_query_impl::plumbing::impl$2::start_query::closure$0 | |
at .\compiler\rustc_query_impl\src\plumbing.rs:102 | |
74: rustc_middle::ty::context::tls::with_related_context::closure$0 | |
at .\compiler\rustc_middle\src\ty\context.rs:1794 | |
75: rustc_middle::ty::context::tls::with_context::closure$0 | |
at .\compiler\rustc_middle\src\ty\context.rs:1778 | |
76: rustc_middle::ty::context::tls::with_context_opt | |
at .\compiler\rustc_middle\src\ty\context.rs:1767 | |
77: rustc_middle::ty::context::tls::with_context | |
at .\compiler\rustc_middle\src\ty\context.rs:1778 | |
78: rustc_middle::ty::context::tls::with_related_context | |
at .\compiler\rustc_middle\src\ty\context.rs:1791 | |
79: rustc_query_impl::plumbing::impl$2::start_query | |
at .\compiler\rustc_query_impl\src\plumbing.rs:91 | |
80: rustc_query_system::query::plumbing::execute_job | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:466 | |
81: rustc_query_system::query::plumbing::try_execute_query<rustc_query_impl::plumbing::QueryCtxt,rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalDefId,ref$<rustc_middle::ty::context::TypeckResults> > > | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:401 | |
82: rustc_query_system::query::plumbing::get_query<rustc_query_impl::queries::typeck,rustc_query_impl::plumbing::QueryCtxt> | |
at .\compiler\rustc_query_system\src\query\plumbing.rs:756 | |
83: rustc_middle::ty::query::TyCtxtAt::typeck | |
at .\compiler\rustc_middle\src\ty\query.rs:253 | |
84: rustc_middle::ty::context::TyCtxt::typeck | |
at .\compiler\rustc_middle\src\ty\query.rs:234 | |
85: rustc_middle::ty::context::TyCtxt::typeck_opt_const_arg | |
at .\compiler\rustc_middle\src\ty\context.rs:1055 | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment