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