Even more
This commit is contained in:
parent
eebb2abe0b
commit
b91a98ba10
2 changed files with 10 additions and 13 deletions
|
@ -131,7 +131,7 @@ impl<'p, 'tcx> RustcMatchCheckCtxt<'p, 'tcx> {
|
|||
pub(crate) fn list_variant_nonhidden_fields<'a>(
|
||||
&'a self,
|
||||
ty: Ty<'tcx>,
|
||||
variant: &'a VariantDef,
|
||||
variant: &'a VariantDef, // TODO:
|
||||
) -> impl Iterator<Item = (FieldIdx, Ty<'tcx>)> + Captures<'p> + Captures<'a> {
|
||||
let cx = self;
|
||||
let ty::Adt(adt, args) = ty.kind() else { bug!() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue