-
-fn unwrap_downcast_or_interior<'a, 'tcx>(mut cmt: &'a euv::Place<'tcx>) -> euv::Place<'tcx> {
- loop {
- match cmt.cat {
- mc::Categorization::Downcast(ref c, _) | mc::Categorization::Interior(ref c, _) => {
- cmt = c;
- },
- _ => return (*cmt).clone(),
- }
- }
-}