fn make_field(&self, idx: usize, ty: Ty<'tcx>) -> Place<'tcx> {
        let base = Place::Local(self_arg());
        let field = Projection {
            base: base,
            elem: ProjectionElem::Field(Field::new(idx), ty),
        };
        Place::Projection(Box::new(field))
    }
// Create a Place referencing a generator struct field
Create a Place referencing a generator struct field
Create a Place referencing a generator struct field
fn make_field(&self, idx: usize, ty: Ty<'tcx>) -> Place<'tcx> {
        let base = Place::Local(self_arg());
        let field = Projection {
            base: base,
            elem: ProjectionElem::Field(Field::new(idx), ty),
        };
        Place::Projection(Box::new(field))
    }
fn make_field ( & self , idx : usize , ty : Ty < ' tcx > ) -> Place < ' tcx > { let base = Place :: Local ( self_arg ( ) ) ; let field = Projection { base : base , elem : ProjectionElem :: Field ( Field :: new ( idx ) , ty ) , } ; Place :: Projection ( Box :: new ( field ) ) }
Create a Place referencing a generator struct field
Create a Place referencing a generator struct field
&self
idx
usize
ty
Ty<'tcx>