Name the destructure_mir_constant query appropriately
This commit is contained in:
parent
46cce98134
commit
8ac1a67d11
4 changed files with 6 additions and 6 deletions
|
@ -85,7 +85,7 @@ pub(crate) fn eval_to_valtree<'tcx>(
|
|||
}
|
||||
|
||||
#[instrument(skip(tcx), level = "debug")]
|
||||
pub(crate) fn try_destructure_mir_constant<'tcx>(
|
||||
pub(crate) fn try_destructure_mir_constant_for_diagnostics<'tcx>(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
val: ConstValue<'tcx>,
|
||||
ty: Ty<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue