mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Fix panic in const eval and parameter destructing
This commit is contained in:
parent
2feabc4dc4
commit
01c1b3dc71
6 changed files with 57 additions and 17 deletions
|
@ -769,6 +769,7 @@ impl Evaluator<'_> {
|
|||
}
|
||||
}
|
||||
}
|
||||
Rvalue::Repeat(_, _) => not_supported!("evaluating repeat rvalue"),
|
||||
Rvalue::ShallowInitBox(_, _) => not_supported!("shallow init box"),
|
||||
Rvalue::CopyForDeref(_) => not_supported!("copy for deref"),
|
||||
Rvalue::Aggregate(kind, values) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue