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 {
724
724
}
725
725
726
726
match & $( $mutability) ? proj. elem {
727
- ProjectionElem :: Deref => {
728
- }
729
- ProjectionElem :: Subslice { from: _, to: _ } => {
730
- }
731
727
ProjectionElem :: Field ( _field, ty) => {
732
728
self . visit_ty( ty, TyContext :: Location ( location) ) ;
733
729
}
@@ -738,11 +734,12 @@ macro_rules! make_mir_visitor {
738
734
location
739
735
) ;
740
736
}
737
+ ProjectionElem :: Deref |
738
+ ProjectionElem :: Subslice { from: _, to: _ } |
741
739
ProjectionElem :: ConstantIndex { offset: _,
742
740
min_length: _,
743
- from_end: _ } => {
744
- }
745
- ProjectionElem :: Downcast ( _name, _variant_index) => {
741
+ from_end: _ } |
742
+ ProjectionElem :: Downcast ( _, _) => {
746
743
}
747
744
}
748
745
}
You can’t perform that action at this time.
0 commit comments