1
Fork 0

add comments

This commit is contained in:
Lukas Markeffsky 2025-01-30 17:22:45 +01:00
parent 0055fb92db
commit ca3ff832e3
4 changed files with 10 additions and 1 deletions

View file

@ -214,6 +214,7 @@ impl<'tcx> ConstToPat<'tcx> {
}
// Recursive helper for `to_pat`; invoke that (instead of calling this directly).
// FIXME(valtrees): Accept `ty::Value` instead of `Ty` and `ty::ValTree` separately.
#[instrument(skip(self), level = "debug")]
fn valtree_to_pat(&self, cv: ValTree<'tcx>, ty: Ty<'tcx>) -> Box<Pat<'tcx>> {
let span = self.span;