ICE: compiler/rustc_mir_build/src/build/expr/as_place.rs
fn to_place
None
#123255
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.
Code
(slightly reduced)
(original code)
Code
Note
pub struct C(B);
has been modified topub struct C(&'a ());
.Meta
rustc --version --verbose
:Command
rustc --edition=2021
Error output
Backtrace
Related Issues
Option::unwrap()
on aNone
value #115658 (ICE-loc) also points to the same ICE location.The text was updated successfully, but these errors were encountered: