Ice on build after weird character fix. #93247
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I got the below error when building locally,
Code
I haven't been able to minimize the code, in fact I cannot repeat the error despite making a git commit of the exact code when the error was occurring. If you think the code would help with investigating I can supply it, but I would rather not in its current state.
For context:
I had a compile issue due to junk characters that I accidentally inserted (I have a "kvm" switch, for my mouse/keyboard job/home computer setup, and it sometimes makes the keyboard output weird charachters after switching).
Meta
rustc --version --verbose
:thread 'rustc' panicked at 'called
Option::unwrap()
on aNone
value', /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/compiler/rustc_hir/src/definitions.rs:452:14note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceerror: 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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.57.0 (f1edd04 2021-11-29) running on x86_64-apple-darwin
note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation
warp::filter::or::Or<impl warp::filter::Filter+core::clone::Clone, impl warp::filter::Filter+core::clone::Clone>: warp::filter::Filter
#1 [typeck] type-checking
filters::routes
end of query stack
The text was updated successfully, but these errors were encountered: