File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -724,10 +724,6 @@ macro_rules! make_mir_visitor {
724724 }
725725
726726 match & $( $mutability) ? proj. elem {
727- ProjectionElem :: Deref => {
728- }
729- ProjectionElem :: Subslice { from: _, to: _ } => {
730- }
731727 ProjectionElem :: Field ( _field, ty) => {
732728 self . visit_ty( ty, TyContext :: Location ( location) ) ;
733729 }
@@ -738,11 +734,12 @@ macro_rules! make_mir_visitor {
738734 location
739735 ) ;
740736 }
737+ ProjectionElem :: Deref |
738+ ProjectionElem :: Subslice { from: _, to: _ } |
741739 ProjectionElem :: ConstantIndex { offset: _,
742740 min_length: _,
743- from_end: _ } => {
744- }
745- ProjectionElem :: Downcast ( _name, _variant_index) => {
741+ from_end: _ } |
742+ ProjectionElem :: Downcast ( _, _) => {
746743 }
747744 }
748745 }
You can’t perform that action at this time.
0 commit comments