add comments
This commit is contained in:
parent
0055fb92db
commit
ca3ff832e3
4 changed files with 10 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue