pub fn find(&self, lval: &Lvalue<'tcx>) -> MovePathIndex {
        match *lval {
            Lvalue::Var(var) => self.vars[var].unwrap(),
            Lvalue::Temp(temp) => self.temps[temp].unwrap(),
            Lvalue::Arg(arg) => self.args[arg].unwrap(),
            Lvalue::Static(ref _def_id) => self.statics.unwrap(),
            Lvalue::ReturnPointer => self.return_ptr.unwrap(),
            Lvalue::Projection(ref proj) => {
                let base_index = self.find(&proj.base);
                self.projections[base_index.index()][&proj.elem.lift()]
            }
        }
    }
// Unlike the builder `fn move_path_for` below, this lookup
// alternative will *not* create a MovePath on the fly for an
// unknown l-value; it will simply panic.
Unlike the builder `fn move_path_for` below, this lookup
alternative will *not* create a MovePath on the fly for an
unknown l-value; it will simply panic.
Unlike the builder ` fn move_path_for ` below this lookup alternative will * not * create a MovePath on the fly for an unknown l - value ; it will simply panic .
pub fn find(&self, lval: &Lvalue<'tcx>) -> MovePathIndex {
        match *lval {
            Lvalue::Var(var) => self.vars[var].unwrap(),
            Lvalue::Temp(temp) => self.temps[temp].unwrap(),
            Lvalue::Arg(arg) => self.args[arg].unwrap(),
            Lvalue::Static(ref _def_id) => self.statics.unwrap(),
            Lvalue::ReturnPointer => self.return_ptr.unwrap(),
            Lvalue::Projection(ref proj) => {
                let base_index = self.find(&proj.base);
                self.projections[base_index.index()][&proj.elem.lift()]
            }
        }
    }
pub fn find ( & self , lval : & Lvalue < ' tcx > ) -> MovePathIndex { match * lval { Lvalue :: Var ( var ) => self . vars [ var ] . unwrap ( ) , Lvalue :: Temp ( temp ) => self . temps [ temp ] . unwrap ( ) , Lvalue :: Arg ( arg ) => self . args [ arg ] . unwrap ( ) , Lvalue :: Static ( ref _def_id ) => self . statics . unwrap ( ) , Lvalue :: ReturnPointer => self . return_ptr . unwrap ( ) , Lvalue :: Projection ( ref proj ) => { let base_index = self . find ( & proj . base ) ; self . projections [ base_index . index ( ) ] [ & proj . elem . lift ( ) ] } } }
Unlike the builder `fn move_path_for` below, this lookup
alternative will *not* create a MovePath on the fly for an
unknown l-value; it will simply panic.
Unlike the builder ` fn move_path_for ` below this lookup alternative will * not * create a MovePath on the fly for an unknown l - value ; it will simply panic .
&self
lval
&Lvalue<'tcx>
&self
lval
&Lvalue<'tcx>