Open yottalogical opened 3 years ago
Triage: I can't reproduce this. Can you still reproduce? If so, please provide more detailed step-by-step instructions, ideally against a git repo to reduce risk of errors when copy-pasting code back and forth. Thanks!
Code
Cargo.toml
:src/main.rs
:src/api.rs
:Cargo.lock
:Meta
rustc --version --verbose
:Error output
Backtrace
``` stack backtrace: 0: _rust_begin_unwind 1: std::panicking::begin_panic_fmt 2: rustc_query_system::query::plumbing::incremental_verify_ich 3: rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory 4: rustc_data_structures::stack::ensure_sufficient_stack 5: rustc_query_system::query::plumbing::get_query_impl 6:::evaluate_obligation
7: ::evaluate_obligation
8: ::evaluate_obligation_no_overflow
9: rustc_trait_selection::traits::fulfill::FulfillProcessor::process_trait_obligation
10: rustc_trait_selection::traits::fulfill::FulfillProcessor::progress_changed_obligations
11: rustc_data_structures::obligation_forest::ObligationForest::process_obligations
12: rustc_trait_selection::traits::fulfill::FulfillmentContext::select
13: ::select_where_possible
14: ::enter_canonical_trait_query
15: rustc_traits::normalize_projection_ty::normalize_projection_ty
16: rustc_middle::dep_graph::::with_deps
17: rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory
18: rustc_data_structures::stack::ensure_sufficient_stack
19: rustc_query_system::query::plumbing::get_query_impl
20: ::normalize_projection_ty
21: ::fold_ty
22: rustc_middle::ty::subst::>::super_fold_with
23: rustc_middle::ty::structural_impls::::super_fold_with
24: ::fold_ty
25: ::normalize
26: rustc_infer::infer::InferCtxtBuilder::enter
27: core::ops::function::FnOnce::call_once
28: rustc_middle::dep_graph::::with_deps
29: rustc_query_system::query::plumbing::load_from_disk_and_cache_in_memory
30: rustc_data_structures::stack::ensure_sufficient_stack
31: rustc_query_system::query::plumbing::get_query_impl
32: ::normalize_generic_arg_after_erasing_regions
33: rustc_middle::ty::normalize_erasing_regions::NormalizeAfterErasingRegionsFolder::normalize_generic_arg_after_erasing_regions
34: ::fold_ty
35: ::visit_terminator
36: rustc_mir::monomorphize::collector::collect_neighbours
37: rustc_mir::monomorphize::collector::collect_items_rec
38: rustc_mir::monomorphize::collector::collect_items_rec
39: rustc_mir::monomorphize::collector::collect_items_rec
40: rustc_mir::monomorphize::collector::collect_items_rec
41: rustc_mir::monomorphize::collector::collect_items_rec
42: rustc_mir::monomorphize::collector::collect_items_rec
43: rustc_mir::monomorphize::collector::collect_items_rec
44: rustc_mir::monomorphize::collector::collect_items_rec
45: rustc_mir::monomorphize::collector::collect_items_rec
46: rustc_mir::monomorphize::collector::collect_items_rec
47: rustc_mir::monomorphize::collector::collect_items_rec
48: rustc_mir::monomorphize::collector::collect_items_rec
49: rustc_mir::monomorphize::collector::collect_items_rec
50: rustc_mir::monomorphize::collector::collect_items_rec
51: rustc_mir::monomorphize::collector::collect_items_rec
52: rustc_mir::monomorphize::collector::collect_items_rec
53: rustc_mir::monomorphize::collector::collect_items_rec
54: rustc_mir::monomorphize::collector::collect_items_rec
55: rustc_session::utils::::time
56: rustc_mir::monomorphize::collector::collect_crate_mono_items
57: rustc_mir::monomorphize::partitioning::collect_and_partition_mono_items
58: rustc_query_system::dep_graph::graph::DepGraph::with_task_impl
59: rustc_data_structures::stack::ensure_sufficient_stack
60: rustc_query_system::query::plumbing::force_query_with_job
61: rustc_query_system::query::plumbing::get_query_impl
62: ::collect_and_partition_mono_items
63: rustc_codegen_ssa::base::codegen_crate
64: ::codegen_crate
65: rustc_interface::queries::Queries::ongoing_codegen
66: rustc_interface::queries::::enter
67: rustc_span::with_source_map
68: scoped_tls::ScopedKey::set
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
```