delayed bug: `Res::Err` but no error emitted 0: ::emit_diagnostic 1: ::emit_diagnostic 2: ::emit_producing_guarantee 3: ::span_delayed_bug:: 4: ::check_expr_path 5: ::check_expr_with_expectation_and_args 6: ::check_expr_with_expectation_and_args 7: ::check_expr_with_expectation_and_args 8: ::check_expr_with_expectation_and_args 9: ::confirm_builtin_call 10: ::check_expr_with_expectation_and_args 11: ::check_block_with_expected 12: ::check_expr_with_expectation_and_args 13: rustc_hir_typeck::check::check_fn 14: rustc_hir_typeck::typeck 15: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> 16: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> 17: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace 18: ::par_body_owners::::{closure#0} 19: rustc_hir_analysis::check_crate 20: rustc_interface::passes::run_required_analyses 21: rustc_interface::passes::analysis 22: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> 23: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> 24: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace 25: rustc_interface::interface::run_compiler::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} 26: std::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> 27: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 28: std::sys::pal::unix::thread::Thread::new::thread_start 29: start_thread 30: __GI___clone3 delayed bug: TyKind::Error constructed but no error reported 0: ::emit_diagnostic 1: ::emit_diagnostic 2: ::emit_producing_guarantee 3: ::span_delayed_bug:: 4: ::new_misc_error 5: ::check_expr_with_expectation_and_args 6: ::check_expr_with_expectation_and_args 7: ::check_expr_with_expectation_and_args 8: ::confirm_builtin_call 9: ::check_expr_with_expectation_and_args 10: ::check_block_with_expected 11: ::check_expr_with_expectation_and_args 12: rustc_hir_typeck::check::check_fn 13: rustc_hir_typeck::typeck 14: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> 15: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> 16: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace 17: ::par_body_owners::::{closure#0} 18: rustc_hir_analysis::check_crate 19: rustc_interface::passes::run_required_analyses 20: rustc_interface::passes::analysis 21: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> 22: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> 23: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace 24: rustc_interface::interface::run_compiler::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} 25: std::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> 26: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 27: std::sys::pal::unix::thread::Thread::new::thread_start 28: start_thread 29: __GI___clone3 delayed bug: TyKind::Error constructed but no error reported 0: ::emit_diagnostic 1: ::emit_diagnostic 2: ::emit_producing_guarantee 3: ::span_delayed_bug:: 4: ::new_misc_error 5: ::check_expr_with_expectation_and_args 6: ::confirm_builtin_call 7: ::check_expr_with_expectation_and_args 8: ::check_block_with_expected 9: ::check_expr_with_expectation_and_args 10: rustc_hir_typeck::check::check_fn 11: rustc_hir_typeck::typeck 12: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> 13: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> 14: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace 15: ::par_body_owners::::{closure#0} 16: rustc_hir_analysis::check_crate 17: rustc_interface::passes::run_required_analyses 18: rustc_interface::passes::analysis 19: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> 20: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> 21: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace 22: rustc_interface::interface::run_compiler::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} 23: std::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> 24: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 25: std::sys::pal::unix::thread::Thread::new::thread_start 26: start_thread 27: __GI___clone3 rustc version: 1.82.0-nightly (100fde524 2024-08-28) platform: x86_64-unknown-linux-gnu