@@ -222,13 +222,6 @@ macro_rules! make_mir_visitor {
222
222
self . super_ty( ty) ;
223
223
}
224
224
225
- fn visit_user_type_projection(
226
- & mut self ,
227
- ty: & $( $mutability) ? UserTypeProjection ,
228
- ) {
229
- self . super_user_type_projection( ty) ;
230
- }
231
-
232
225
fn visit_user_type_annotation(
233
226
& mut self ,
234
227
index: UserTypeAnnotationIndex ,
@@ -818,14 +811,13 @@ macro_rules! make_mir_visitor {
818
811
fn super_ascribe_user_ty( & mut self ,
819
812
place: & $( $mutability) ? Place <' tcx>,
820
813
variance: $( & $mutability) ? ty:: Variance ,
821
- user_ty : & $( $mutability) ? UserTypeProjection ,
814
+ _user_ty : & $( $mutability) ? UserTypeProjection ,
822
815
location: Location ) {
823
816
self . visit_place(
824
817
place,
825
818
PlaceContext :: NonUse ( NonUseContext :: AscribeUserTy ( $( * & $mutability * ) ? variance) ) ,
826
819
location
827
820
) ;
828
- self . visit_user_type_projection( user_ty) ;
829
821
}
830
822
831
823
fn super_coverage( & mut self ,
@@ -850,7 +842,7 @@ macro_rules! make_mir_visitor {
850
842
let LocalDecl {
851
843
mutability: _,
852
844
ty,
853
- user_ty,
845
+ user_ty: _ ,
854
846
source_info,
855
847
local_info: _,
856
848
} = local_decl;
@@ -861,11 +853,6 @@ macro_rules! make_mir_visitor {
861
853
local,
862
854
source_info: * source_info,
863
855
} ) ;
864
- if let Some ( user_ty) = user_ty {
865
- for ( user_ty, _) in & $( $mutability) ? user_ty. contents {
866
- self . visit_user_type_projection( user_ty) ;
867
- }
868
- }
869
856
}
870
857
871
858
fn super_var_debug_info(
@@ -945,12 +932,6 @@ macro_rules! make_mir_visitor {
945
932
self . visit_source_scope( $( & $mutability) ? * scope) ;
946
933
}
947
934
948
- fn super_user_type_projection(
949
- & mut self ,
950
- _ty: & $( $mutability) ? UserTypeProjection ,
951
- ) {
952
- }
953
-
954
935
fn super_user_type_annotation(
955
936
& mut self ,
956
937
_index: UserTypeAnnotationIndex ,
0 commit comments