-
Notifications
You must be signed in to change notification settings - Fork 1.6k
thread 'rustc' panicked at 'called Option::unwrap()
on a None
value',
#8076
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
Comments
RUST_BACKTRACE=full cargo clippy error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new note: Clippy version: clippy 0.1.57 (f1edd04 2021-11-29) query stack during panic: |
It's duplicate of rust-lang/rust#90682, so I'm closing this. |
RUST_BACKTRACE=1 cargo clippy
Checking sctp-proto v0.0.0 (/home/yliu/rust/webrtc-rs/webrtc/crates/sctp/sctp-proto)
thread 'rustc' panicked at 'called
Option::unwrap()
on aNone
value', /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/compiler/rustc_hir/src/definitions.rs:452:14stack backtrace:
0: rust_begin_unwind
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5
1: core::panicking::panic_fmt
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:100:14
2: core::panicking::panic
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:50:5
3: <rustc_query_impl::on_disk_cache::OnDiskCache as rustc_middle::ty::context::OnDiskCache>::def_path_hash_to_def_id
4: rustc_middle::dep_graph::dep_node::<impl rustc_query_system::dep_graph::dep_node::DepNodeParams<rustc_middle::ty::context::TyCtxt> for rustc_span::def_id::LocalDefId>::recover
5: rustc_query_impl::query_callbacks::hir_owner::force_from_dep_node
6: rustc_query_system::dep_graph::graph::DepGraph::try_mark_previous_green
7: rustc_query_system::dep_graph::graph::DepGraph::try_mark_previous_green
8: rustc_query_system::dep_graph::graph::DepGraph::try_mark_previous_green
9: rustc_query_system::dep_graph::graph::DepGraph::try_mark_previous_green
10: rustc_query_system::query::plumbing::ensure_must_run
11: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::coherent_trait
12: rustc_session::session::Session::track_errors
13: rustc_typeck::check_crate
14: rustc_interface::passes::analysis
15: rustc_query_system::dep_graph::graph::DepGraph::with_task
16: rustc_data_structures::stack::ensure_sufficient_stack
17: rustc_query_system::query::plumbing::try_execute_query
18: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::analysis
19: rustc_interface::passes::QueryContext::enter
20: rustc_interface::queries::::enter
21: rustc_span::with_source_map
22: scoped_tls::ScopedKey::set
note: Some details are omitted, run with
RUST_BACKTRACE=full
for a verbose backtrace.error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new
note: Clippy version: clippy 0.1.57 (f1edd04 2021-11-29)
query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
The text was updated successfully, but these errors were encountered: