You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't worked it down to a minimal repro yet but can if you want. Possibly related to #42007 , since running the (first) example code snippet listed there also makes the compiler panic with what appears to be the same backtrace as this.
The error backtrace is:
thread 'rustc' panicked at 'invalid lint-id `trivial_numeric_casts`', /checkout/src/librustc/lint/context.rs:1322
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at /checkout/src/libstd/sys_common/backtrace.rs:71
2: std::panicking::default_hook::{{closure}}
at /checkout/src/libstd/sys_common/backtrace.rs:60
at /checkout/src/libstd/panicking.rs:355
3: std::panicking::default_hook
at /checkout/src/libstd/panicking.rs:365
4: std::panicking::rust_panic_with_hook
at /checkout/src/libstd/panicking.rs:549
5: std::panicking::begin_panic
at /checkout/src/libstd/panicking.rs:511
6: std::panicking::begin_panic_fmt
at /checkout/src/libstd/panicking.rs:495
7: <rustc::ty::context::TypeckTables<'tcx> as serialize::serialize::Decodable>::decode::{{closure}}
8: rustc_metadata::decoder::<impl rustc_metadata::cstore::CrateMetadata>::item_body_tables
9: rustc_metadata::cstore_impl::provide::typeck_tables
10: rustc::ty::maps::<impl rustc::ty::maps::queries::typeck_tables<'tcx>>::try_get
11: rustc::ty::maps::<impl rustc::ty::maps::queries::typeck_tables<'tcx>>::get
12: rustc::ty::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::item_tables
13: rustc_const_eval::eval::const_eval
14: rustc::ty::maps::<impl rustc::ty::maps::queries::const_eval<'tcx>>::try_get
15: rustc::ty::maps::<impl rustc::ty::maps::queries::const_eval<'tcx>>::get
16: rustc::ty::layout::Layout::compute_uncached
17: rustc::ty::util::<impl rustc::ty::TyS<'tcx>>::layout
18: <collections::vec::Vec<T> as collections::vec::SpecExtend<T, I>>::from_iter
19: rustc::ty::layout::Layout::compute_uncached
20: <rustc_lint::types::VariantSizeDifferences as rustc::lint::LateLintPass<'a, 'tcx>>::check_item
21: rustc::lint::context::LintContext::with_lint_attrs
22: <rustc::lint::context::LateContext<'a, 'tcx> as rustc::hir::intravisit::Visitor<'tcx>>::visit_mod
23: rustc::hir::intravisit::walk_item
24: rustc::lint::context::LintContext::with_lint_attrs
25: <rustc::lint::context::LateContext<'a, 'tcx> as rustc::hir::intravisit::Visitor<'tcx>>::visit_mod
26: rustc::lint::context::check_crate
27: rustc_driver::driver::phase_3_run_analysis_passes::{{closure}}
28: rustc::ty::context::TyCtxt::create_and_enter
29: rustc_driver::driver::phase_3_run_analysis_passes
30: rustc_driver::driver::compile_input
31: rustc_driver::run_compiler
32: std::panicking::try::do_call
33: __rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:98
35: std::sys::imp::thread::Thread::new::thread_start
at /checkout/src/liballoc/boxed.rs:650
at /checkout/src/libstd/sys_common/thread.rs:21
at /checkout/src/libstd/sys/unix/thread.rs:84
36: start_thread
37: __clone
The text was updated successfully, but these errors were encountered:
Trying to build this project with rustc 1.18 panics the compiler: https://github.com/ggez/ggez-goodies
I haven't worked it down to a minimal repro yet but can if you want. Possibly related to #42007 , since running the (first) example code snippet listed there also makes the compiler panic with what appears to be the same backtrace as this.
The error backtrace is:
The text was updated successfully, but these errors were encountered: